Diff between 78af547e94d9d87d1f06ce0868e947f75af06fb7 and 449cf35032e5437d7beb00289a8fdd27b57e46a0

Changed Files

File Additions Deletions Status
src/shared/util.h +1 -1 modified

Full Patch

diff --git a/src/shared/util.h b/src/shared/util.h
index a8ba234..bd71577 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -85,7 +85,7 @@ do {						\
 	}))
 
 #define newa(t, n) ((t*) alloca(sizeof(t)*(n)))
-#define malloc0(n) (calloc((n), 1))
+#define malloc0(n) (calloc(1, (n)))
 
 char *strdelimit(char *str, char *del, char c);
 int strsuffix(const char *str, const char *suffix);