tools/tiffcmp.c:492: error: Integer Overflow L2
  ([0, `imagewidth`] - 1):unsigned32.

tools/tiffcmp.c:484:1: <LHS trace>
482. }
483. 
484. static int
     ^
485. SeparateCompare(int reversed, int sample, uint32 row,
486. 		unsigned char* cp1, unsigned char* p2)

tools/tiffcmp.c:484:1: Global `imagewidth`
482. }
483. 
484. static int
     ^
485. SeparateCompare(int reversed, int sample, uint32 row,
486. 		unsigned char* cp1, unsigned char* p2)

tools/tiffcmp.c:488:2: Assignment
486. 		unsigned char* cp1, unsigned char* p2)
487. {
488. 	uint32 npixels = imagewidth;
      ^
489. 	int pixel;
490. 

tools/tiffcmp.c:492:18: Binary operation: ([0, imagewidth] - 1):unsigned32
490. 
491. 	cp1 += sample;
492. 	for (pixel = 0; npixels-- > 0; pixel++, cp1 += samplesperpixel, p2++) {
                      ^
493. 		if (*cp1 != *p2) {
494. 			printf("Scanline %lu, pixel %lu, sample %ld: ",
