don't pass a ssize_t to a %d format string
authorTony Cook <tony@develop-help.com>
Tue, 3 Jan 2012 04:54:33 +0000 (15:54 +1100)
committerTony Cook <tony@develop-help.com>
Tue, 3 Jan 2012 04:55:45 +0000 (15:55 +1100)
Imager.xs

index e5ff283..4274c38 100644 (file)
--- a/Imager.xs
+++ b/Imager.xs
@@ -2995,7 +2995,7 @@ i_img_make_palette(HV *quant_hv, ...)
          }
          else {
            myfree(imgs);
-           croak("Image %d is not an image object", i+1);
+           croak("Image %d is not an image object", (int)i+1);
           }
        }
         memset(&quant, 0, sizeof(quant));