about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-06-27 20:00:22 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-06-27 20:00:22 +0000
commitca664e29a76cba35cb7ffc505db151ec27d21a98 (patch)
treed56fdaabf8317059292c2f3b24db19cd3939d207 /lib
parentfda1dcf250e86abac516f0d795f223364e3215ef (diff)
downloadnetpbm-mirror-ca664e29a76cba35cb7ffc505db151ec27d21a98.tar.gz
netpbm-mirror-ca664e29a76cba35cb7ffc505db151ec27d21a98.tar.xz
netpbm-mirror-ca664e29a76cba35cb7ffc505db151ec27d21a98.zip
Fix bugs just committed
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1251 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r--lib/util/mallocvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/mallocvar.h b/lib/util/mallocvar.h
index 9e111803..31ad38bc 100644
--- a/lib/util/mallocvar.h
+++ b/lib/util/mallocvar.h
@@ -107,14 +107,14 @@ do { \
         abort(); \
 } while(0)
 
-#define MALLOCARRAY2(arrayName, nRows, nCols, elementSz) do { \
+#define MALLOCARRAY2(arrayName, nRows, nCols) do { \
     void * array; \
     pm_mallocarray2(&array, nRows, nCols, sizeof(arrayName[0][0]));  \
     arrayName = array; \
 } while (0)
 
-#define MALLOCARRAY2_NOFAIL(arrayName, nRows, nCols, elementSz) do { \
-    MALLOCARRAY2(arrayName, nRows, nCols, elementSz);       \
+#define MALLOCARRAY2_NOFAIL(arrayName, nRows, nCols) do { \
+    MALLOCARRAY2(arrayName, nRows, nCols);       \
     if ((arrayName) == NULL) \
         abort(); \
 } while (0)