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