]> git.imager.perl.org - imager.git/blobdiff - map.c
PNG re-work: handle writing bilevel files
[imager.git] / map.c
diff --git a/map.c b/map.c
index f1a6db5bd3dfb152d036e94a864bff8b6ead4bec..0431367f5b0613e85de9433162e70072aeb60f64 100644 (file)
--- a/map.c
+++ b/map.c
@@ -37,7 +37,7 @@ maps im inplace into another image.
 void
 i_map(i_img *im, unsigned char (*maps)[256], unsigned int mask) {
   i_color *vals;
-  int x, y;
+  i_img_dim x, y;
   int i, ch;
   int minset = -1, maxset = 0;