about summary refs log tree commit diff
path: root/converter/other/pamtosvg/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pamtosvg/bitmap.c')
-rw-r--r--converter/other/pamtosvg/bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/other/pamtosvg/bitmap.c b/converter/other/pamtosvg/bitmap.c
index 1a00e748..84a8a8ae 100644
--- a/converter/other/pamtosvg/bitmap.c
+++ b/converter/other/pamtosvg/bitmap.c
@@ -59,8 +59,8 @@ at_bitmap_init(unsigned char * area,
             if (bitmap.bitmap == NULL)
                 pm_error("Unable to allocate %u x %u x %u bitmap array",
                          width, height, planes);
-            bzero(bitmap.bitmap,
-                  width * height * planes * sizeof(unsigned char));
+            memset(bitmap.bitmap,
+                   0, width * height * planes * sizeof(unsigned char));
         }
     }