]> git.imager.perl.org - imager.git/blobdiff - map.c
clean up some old junk in log.c
[imager.git] / map.c
diff --git a/map.c b/map.c
index e88dfcc4937f1b81ff9eb004ce49da30f4594df7..0431367f5b0613e85de9433162e70072aeb60f64 100644 (file)
--- a/map.c
+++ b/map.c
@@ -37,9 +37,9 @@ 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;
+  int minset = -1, maxset = 0;
 
   mm_log((1,"i_map(im %p, maps %p, chmask %u)\n", im, maps, mask));