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 --- lib/libpamn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpamn.c') diff --git a/lib/libpamn.c b/lib/libpamn.c index fe004e91..76a8bb6d 100644 --- a/lib/libpamn.c +++ b/lib/libpamn.c @@ -42,7 +42,7 @@ allocpamrown(const struct pam * const pamP, if (tuplerown == NULL) asprintfN(&error, "Out of memory allocating space for a tuple row of" "%u tuples by %u samples per tuple by %u bytes per sample.", - pamP->width, pamP->depth, sizeof(samplen)); + pamP->width, pamP->depth, (unsigned)sizeof(samplen)); else { /* Now we initialize the pointers to the individual tuples to make this a regulation C two dimensional array. -- cgit 1.4.1