about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-04-28 17:32:22 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-04-28 17:32:22 +0000
commit793d7a86050ac90705b2792b489a37a0ea2863fe (patch)
treebf067ce7d0cff7a1b4eb290ff65f4f915b18e15c /converter/other
parent887408eb3e237bd9e81b028ec0819ed45bf88297 (diff)
downloadnetpbm-mirror-793d7a86050ac90705b2792b489a37a0ea2863fe.tar.gz
netpbm-mirror-793d7a86050ac90705b2792b489a37a0ea2863fe.tar.xz
netpbm-mirror-793d7a86050ac90705b2792b489a37a0ea2863fe.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3228 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pnmtopalm/palmtopnm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/converter/other/pnmtopalm/palmtopnm.c b/converter/other/pnmtopalm/palmtopnm.c
index c155cf10..b3c0321a 100644
--- a/converter/other/pnmtopalm/palmtopnm.c
+++ b/converter/other/pnmtopalm/palmtopnm.c
@@ -228,7 +228,8 @@ readRestOfHeaderVersion3(FILE *           const ifP,
     pm_readcharu(ifP, sizeP);
     /* should be 0x18, but I can't see why we should really care */
     if (*sizeP != 0x18)
-        pm_message("Strange value for Palm bitmap header size: %hu", *sizeP);
+        pm_message("Strange value for Palm bitmap header size: %u",
+                   (unsigned)*sizeP);
 
     pm_readcharu(ifP, pixelFormatP);
     if (*pixelFormatP != PALM_FORMAT_INDEXED &&
@@ -466,9 +467,9 @@ reportPalmHeader(struct PalmHeader      const palmHeader,
     }
     pm_message("Dimensions: %hu columns x %hu rows",
                palmHeader.cols, palmHeader.rows);
-    pm_message("Row layout: %hu bytes per row, %hu bits per pixel",
+    pm_message("Row layout: %hu bytes per row, %u bits per pixel",
                palmHeader.bytesPerRow, palmHeader.pixelSize);
-    pm_message("Pixel Size code: %hu", palmHeader.pixelSizeCode);
+    pm_message("Pixel Size code: %u", (unsigned)palmHeader.pixelSizeCode);
     pm_message("Flags: 0x%04hx", palmHeader.flags);
     pm_message("  Direct Color: %s", yesno(palmHeader.directColor));
     pm_message("  Colormap:     %s", yesno(palmHeader.hasColormap));