about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--other/pamlookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/pamlookup.c b/other/pamlookup.c
index 83f8a68c..4ceb047f 100644
--- a/other/pamlookup.c
+++ b/other/pamlookup.c
@@ -279,7 +279,7 @@ doLookupByPlane(struct pam const indexpam,
                 if (index > lookuppam.maxval)
                     pm_error("Sample value %u in the lookup image exceeds "
                              "the lookup image's maxval (%u)",
-                             index, lookuppam.maxval);
+                             index, (unsigned)lookuppam.maxval);
 
                 tuplerowOut[col][plane] = lookup[0][index][0];
             }