about summary refs log tree commit diff
path: root/converter/other/ipdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/ipdb.c')
-rw-r--r--converter/other/ipdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/ipdb.c b/converter/other/ipdb.c
index 1d72cc31..882bf187 100644
--- a/converter/other/ipdb.c
+++ b/converter/other/ipdb.c
@@ -284,7 +284,7 @@ ipdb_image_alloc(const char * const name,
                 MALLOCARRAY(imgP->data, w * h);
 
                 if (imgP->data) {
-                    MEMSZERO(imgP->data);
+                    memset(imgP->data, 0, sizeof(*(imgP->data)) * w * h);
                 } else
                     failed = true;
             }