about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/other/pngtopam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/other/pngtopam.c b/converter/other/pngtopam.c
index 1fac7a5c..3039c769 100644
--- a/converter/other/pngtopam.c
+++ b/converter/other/pngtopam.c
@@ -1081,10 +1081,10 @@ reportOutputFormat(const struct pam * const pamP) {
         pm_message("Writing a PBM file");
         break;
     case PGM_FORMAT:
-        pm_message("Writing a PGM file with maxval %u", pamP->maxval);
+        pm_message("Writing a PGM file with maxval %lu", pamP->maxval);
         break;
     case PPM_FORMAT:
-        pm_message("Writing a PPM file with maxval %u", pamP->maxval);
+        pm_message("Writing a PPM file with maxval %lu", pamP->maxval);
         break;
     case PAM_FORMAT:
         pm_message("Writing a PAM file with tuple type %s, maxval %u",