--- stable/converter/ppm/xpmtoppm.c 2009/09/27 21:44:29 995 +++ stable/converter/ppm/xpmtoppm.c 2009/12/29 20:15:07 1076 @@ -162,7 +162,7 @@ getNumber(char * const p, unsigned int const size) { unsigned int retval; - char * q; + unsigned char * q; retval = 0; for (q = p; q < p+size; ++q) @@ -466,7 +466,8 @@ char line[MAX_LINE+1], str1[MAX_LINE+1], str2[MAX_LINE+1]; char *t1; char *t2; - int format, v; + int format; + unsigned int v; int i, j; bool processedStaticChar; /* We have read up to and interpreted the "static char..." line */