about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--generator/ppmforge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/ppmforge.c b/generator/ppmforge.c
index 8fec9fee..114f7f18 100644
--- a/generator/ppmforge.c
+++ b/generator/ppmforge.c
@@ -631,7 +631,7 @@ createPlanetStuff(bool             const clouds,
     MALLOCARRAY(bxc, cols);
 
     if (u == NULL || u1 == NULL || bxf == NULL || bxc == NULL)
-        pm_error("Cannot allocate %d element interpolation tables.", cols);
+        pm_error("Cannot allocate %u element interpolation tables.", cols);
     {
         unsigned int j;
         for (j = 0; j < cols; j++) {