diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-12-29 20:46:34 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-12-29 20:46:34 +0000 |
commit | d87a19306b69fa7e537b265983b54071805a5eb5 (patch) | |
tree | 9b0ab24c42650f8cc9cda9edf090a0bcc3e9daf6 /converter/ppm/xpmtoppm.c | |
parent | fdcaa9b6cc10ca54d02b4d1aae57bb60ddc9e316 (diff) | |
download | netpbm-mirror-d87a19306b69fa7e537b265983b54071805a5eb5.tar.gz netpbm-mirror-d87a19306b69fa7e537b265983b54071805a5eb5.tar.xz netpbm-mirror-d87a19306b69fa7e537b265983b54071805a5eb5.zip |
Release 10.35.72
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@1077 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/xpmtoppm.c')
-rw-r--r-- | converter/ppm/xpmtoppm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/converter/ppm/xpmtoppm.c b/converter/ppm/xpmtoppm.c index 9dddfd83..96996c6b 100644 --- a/converter/ppm/xpmtoppm.c +++ b/converter/ppm/xpmtoppm.c @@ -161,7 +161,7 @@ static unsigned int 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) @@ -465,7 +465,8 @@ readXpm1Header(FILE * const stream, int * const widthP, int * const heightP, 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 */ |