Index: trunk/psLib/src/imageops/psImageBackground.c
===================================================================
--- trunk/psLib/src/imageops/psImageBackground.c	(revision 17640)
+++ trunk/psLib/src/imageops/psImageBackground.c	(revision 17641)
@@ -75,5 +75,5 @@
     if (n < 0.01*Nsubset) {
         psLogMsg("psLib.psImageBackground", PS_LOG_INFO,
-                 "Unable to measure image background: too few data points (%d)", n);
+                 "Unable to measure image background: too few data points (%ld)", n);
         psFree(values);
         return false;
