diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-12-30 23:08:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-12-30 23:08:05 +0000 |
commit | 63f54f8e5200b84f48fc4bf7260ada5e90170c88 (patch) | |
tree | 583d2b031b8b309e8b3db2041472439bae0db963 /converter/ppm/leaftoppm.c | |
parent | cf43f2f3b9aaeaf9f3e3e04b2e7127fb10c3bc90 (diff) | |
download | netpbm-mirror-63f54f8e5200b84f48fc4bf7260ada5e90170c88.tar.gz netpbm-mirror-63f54f8e5200b84f48fc4bf7260ada5e90170c88.tar.xz netpbm-mirror-63f54f8e5200b84f48fc4bf7260ada5e90170c88.zip |
Release 10.60.06
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@1822 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/leaftoppm.c')
-rw-r--r-- | converter/ppm/leaftoppm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/ppm/leaftoppm.c b/converter/ppm/leaftoppm.c index bda44494..61c19c1e 100644 --- a/converter/ppm/leaftoppm.c +++ b/converter/ppm/leaftoppm.c @@ -36,7 +36,7 @@ leaf_init(FILE * const fp, long magic; pm_readbiglong(fp, &magic); - if (magic != 0x894f5053) + if ((uint32_t)magic != 0x894f5053) pm_error("Bad magic number. First 4 bytes should be " "0x894f5053 but are instead 0x%08x", (unsigned)magic); |