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