Diff of /ppm.c [0a44cb] .. [36d754]  Maximize  Restore

Switch to side-by-side view

--- a/ppm.c
+++ b/ppm.c
@@ -225,7 +225,7 @@
     }
 
 
-    sprintf(header, "P6\n" FMT_INT32 " " FMT_INT32 "\n%ld\n", im->width,
+    sprintf(header, "P6\n%d %d\n%ld\n", im->width,
             im->height, 255L);
 
     count = strlen(header);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks