7d3e28c
diff -up netpbm-10.47.12/converter/pbm/cmuwmtopbm.c.cmuwtopbmfix netpbm-10.47.12/converter/pbm/cmuwmtopbm.c
7d3e28c
--- netpbm-10.47.12/converter/pbm/cmuwmtopbm.c.cmuwtopbmfix	2010-04-27 15:47:14.000000000 +0200
7d3e28c
+++ netpbm-10.47.12/converter/pbm/cmuwmtopbm.c	2010-05-03 15:17:06.081277896 +0200
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
 #include "cmuwm.h"
7d3e28c
 
7d3e28c
@@ -33,7 +33,7 @@ readCmuwmHeader(FILE *         const ifP
7d3e28c
     const char * const initReadError =
7d3e28c
         "CMU window manager header EOF / read error";
7d3e28c
 
7d3e28c
-    long l;
7d3e28c
+    uint32_t l;
7d3e28c
     short s;
7d3e28c
     int rc;
7d3e28c