about summary refs log tree commit diff
path: root/converter/pbm/xbmtopbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/pbm/xbmtopbm.c')
-rw-r--r--converter/pbm/xbmtopbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/pbm/xbmtopbm.c b/converter/pbm/xbmtopbm.c
index 135b79f1..2ac61ccf 100644
--- a/converter/pbm/xbmtopbm.c
+++ b/converter/pbm/xbmtopbm.c
@@ -170,7 +170,7 @@ getXbmHeader(FILE *         const ifP,
             if (strlen(line) == MAX_LINE - 1)
                 pm_error("A line in the input file is %u characters long.  "
                          "%u is the maximum we can handle",
-                         strlen(line), MAX_LINE-1);
+                         (unsigned)strlen(line), MAX_LINE-1);
 
             parseWidthHeightLine(line, &gotWidth, widthP, &gotHeight, heightP);