about summary refs log tree commit diff
path: root/converter/other/ipdb.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-09-10 02:44:38 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-09-10 02:44:38 +0000
commit778a245464d8b91ae4e567da2757fe5a523df4bf (patch)
tree6025016cd8eb7e4b7d2f8072e28f222ad24d2fd4 /converter/other/ipdb.c
parent0177147f6c26806dab89f8878c97788d3893ab2f (diff)
downloadnetpbm-mirror-778a245464d8b91ae4e567da2757fe5a523df4bf.tar.gz
netpbm-mirror-778a245464d8b91ae4e567da2757fe5a523df4bf.tar.xz
netpbm-mirror-778a245464d8b91ae4e567da2757fe5a523df4bf.zip
Release 10.79.05
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3055 9d0c8265-081b-0410-96cb-a4ca84ce46f8
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;
             }