From 9e2655ddbfcef6c68a4a969d0ba17d4881c22879 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 3 Apr 2010 02:28:31 +0000 Subject: quiet compiler warning git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1172 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/libpgm1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpgm1.c') diff --git a/lib/libpgm1.c b/lib/libpgm1.c index 64a43534..2526a22a 100644 --- a/lib/libpgm1.c +++ b/lib/libpgm1.c @@ -196,7 +196,7 @@ readRpgmRow(FILE * const fileP, errno, strerror(errno)); else if (rc != bytesPerRow) asprintfN(&error, "Error reading row. Short read of %u bytes " - "instead of %u", rc, bytesPerRow); + "instead of %u", (unsigned)rc, bytesPerRow); else { error = NULL; if (maxval < 256) { -- cgit 1.4.1