From 7d714381d1af9f51ae0094df79e1fe8d28c46b84 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 10 Apr 2010 16:07:24 +0000 Subject: Fix compiler warnings git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1185 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/ppm/ppmtoxpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'converter/ppm/ppmtoxpm.c') diff --git a/converter/ppm/ppmtoxpm.c b/converter/ppm/ppmtoxpm.c index 18ea61a8..0f9d35a4 100644 --- a/converter/ppm/ppmtoxpm.c +++ b/converter/ppm/ppmtoxpm.c @@ -317,7 +317,7 @@ genCmap(colorhist_vector const chv, MALLOCARRAY(cmap, cmapSize); if (cmapP == NULL) pm_error("Out of memory allocating %u bytes for a color map.", - sizeof(cixel_map) * (ncolors+1)); + (unsigned)sizeof(cixel_map) * (ncolors+1)); xpmMaxval = xpmMaxvalFromMaxval(maxval); -- cgit 1.4.1