about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/pbm/pbmtoxbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/pbm/pbmtoxbm.c b/converter/pbm/pbmtoxbm.c
index 6846703e..eb45f11b 100644
--- a/converter/pbm/pbmtoxbm.c
+++ b/converter/pbm/pbmtoxbm.c
@@ -337,7 +337,7 @@ convertRaster(FILE *          const ifP,
 
     putinit(xbmVersion);
 
-    bitrow = pbm_allocrow(cols + padright);
+    bitrow = pbm_allocrow_packed(cols + padright);
     bitrow[bitrowBytes-1] = 0;
     
     for (row = 0; row < rows; ++row) {