about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-05-09 23:01:56 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-05-09 23:01:56 +0000
commit9741809ac748078e77162e78b201236a97384da2 (patch)
treefedca4e7a101b7353221bdfa3ed5cd5c0df772a3 /converter
parent6d3d1caf1b1b0b04fe9b92c96325edbb5584a0d5 (diff)
downloadnetpbm-mirror-9741809ac748078e77162e78b201236a97384da2.tar.gz
netpbm-mirror-9741809ac748078e77162e78b201236a97384da2.tar.xz
netpbm-mirror-9741809ac748078e77162e78b201236a97384da2.zip
Fix compile warning
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1208 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r--converter/pgm/sbigtopgm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/pgm/sbigtopgm.c b/converter/pgm/sbigtopgm.c
index ff009f00..c49a4165 100644
--- a/converter/pgm/sbigtopgm.c
+++ b/converter/pgm/sbigtopgm.c
@@ -123,8 +123,8 @@ main(int argc, char ** argv) {
         char *cp = strchr(hdr, '\n');
 
         if (cp == NULL) {
-            pm_error("malformed SBIG file header at character %lu",
-                     hdr - header);
+            pm_error("malformed SBIG file header at character %u",
+                     (unsigned)(hdr - header));
         }
         *cp = '\0';
         if (strncmp(hdr, "ST-", 3) == 0) {