333bd7
diff -up netpbm-10.61.01/converter/pbm/cmuwmtopbm.c.cmuwtopbmfix netpbm-10.61.01/converter/pbm/cmuwmtopbm.c
333bd7
--- netpbm-10.61.01/converter/pbm/cmuwmtopbm.c.cmuwtopbmfix	2013-01-02 18:39:57.000000000 +0100
333bd7
+++ netpbm-10.61.01/converter/pbm/cmuwmtopbm.c	2013-01-03 05:41:36.024984241 +0100
7d3e28
@@ -18,7 +18,7 @@
7d3e28
    This program does not check the pad bits at the end of each row.
7d3e28
 */
7d3e28
 
7d3e28
-
7d3e28
+#include <stdint.h>
7d3e28
 #include "pbm.h"
7d3e28
 
333bd7
 /*--------------------------
333bd7
@@ -42,7 +42,7 @@ readCmuwmHeader(FILE *         const ifP
7d3e28
         "CMU window manager header EOF / read error";
333bd7
     uint32_t const cmuwmMagic = 0xf10040bb;
7d3e28
 
7d3e28
-    long l;
7d3e28
+    uint32_t l;
7d3e28
     short s;
7d3e28
     int rc;
7d3e28