tools/tiff2bw.c:57: error: Integer Overflow L2
  ([0, `n`] - 1):unsigned32.

tools/tiff2bw.c:52:1: <LHS trace>
50. static	int processCompressOptions(char*);
51. 
52. static void
    ^
53. compresscontig(unsigned char* out, unsigned char* rgb, uint32 n)
54. {

tools/tiff2bw.c:52:1: Parameter `n`
50. static	int processCompressOptions(char*);
51. 
52. static void
    ^
53. compresscontig(unsigned char* out, unsigned char* rgb, uint32 n)
54. {

tools/tiff2bw.c:57:9: Binary operation: ([0, n] - 1):unsigned32
55. 	register int v, red = RED, green = GREEN, blue = BLUE;
56. 
57. 	while (n-- > 0) {
            ^
58. 		v = red*(*rgb++);
59. 		v += green*(*rgb++);
