diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-05-19 02:11:14 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-05-19 02:11:14 +0000 |
commit | 9799f7f0aa6bb59ee5a1207537d0cf16acd9e332 (patch) | |
tree | 0108c2701d3bacbd2d96191ffe10696644ab59af | |
parent | d42919b07644ca6abd533820dd39ce2bacc86ab0 (diff) | |
download | netpbm-mirror-9799f7f0aa6bb59ee5a1207537d0cf16acd9e332.tar.gz netpbm-mirror-9799f7f0aa6bb59ee5a1207537d0cf16acd9e332.tar.xz netpbm-mirror-9799f7f0aa6bb59ee5a1207537d0cf16acd9e332.zip |
Fix type mismatch warning
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@299 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | lib/libpm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libpm.c b/lib/libpm.c index 913b1644..115d301c 100644 --- a/lib/libpm.c +++ b/lib/libpm.c @@ -1494,7 +1494,8 @@ pm_tell2(FILE * const fileP, } else pm_error("File position size passed to pm_tell() is invalid: %u. " "Valid sizes are %u and %u", - fileposSize, sizeof(pm_filepos), sizeof(long)); + fileposSize, (unsigned int)sizeof(pm_filepos), + (unsigned int) sizeof(long)); } @@ -1532,7 +1533,8 @@ pm_seek2(FILE * const fileP, } else pm_error("File position size passed to pm_seek() is invalid: %u. " "Valid sizes are %u and %u", - fileposSize, sizeof(pm_filepos), sizeof(long)); + fileposSize, (unsigned int)sizeof(pm_filepos), + (unsigned int) sizeof(long)); } |