changeset 1024:66b01739e5d3

Use dmMalloc0() instead of dmCalloc(1, ...)
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 01 Mar 2015 16:02:46 +0200
parents 76914697a343
children b43885dd3d1a
files tools/packed.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/packed.c	Sun Mar 01 16:00:55 2015 +0200
+++ b/tools/packed.c	Sun Mar 01 16:02:46 2015 +0200
@@ -235,7 +235,7 @@
 int dmPackCreate(const char *filename, DMPackFile ** pack)
 {
     // Allocate packfile-structure
-    *pack = (DMPackFile *) dmCalloc(1, sizeof(DMPackFile));
+    *pack = (DMPackFile *) dmMalloc0(sizeof(DMPackFile));
     if (*pack == NULL)
         return DMERR_MALLOC;