netpbm/netpbm-cmuwtopbm.patch

23 lines
552 B
Diff
Raw Normal View History

diff --git a/converter/pbm/cmuwmtopbm.c b/converter/pbm/cmuwmtopbm.c
index ccf8cfc..1f9bc6c 100644
--- a/converter/pbm/cmuwmtopbm.c
+++ b/converter/pbm/cmuwmtopbm.c
@@ -18,7 +18,7 @@
This program does not check the pad bits at the end of each row.
*/
-
+#include <stdint.h>
#include "pbm.h"
2013-01-03 05:22:57 +00:00
/*--------------------------
@@ -42,7 +42,7 @@ readCmuwmHeader(FILE * const ifP,
"CMU window manager header EOF / read error";
2013-01-03 05:22:57 +00:00
uint32_t const cmuwmMagic = 0xf10040bb;
- long l;
+ uint32_t l;
short s;
int rc;