about summary refs log tree commit diff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/mallocvar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/mallocvar.c b/lib/util/mallocvar.c
index 554030ad..05e2d4c4 100644
--- a/lib/util/mallocvar.c
+++ b/lib/util/mallocvar.c
@@ -134,7 +134,7 @@ pm_mallocarray2(void **      const resultP,
             */
             rowIndex[rows+1] = NULL;   /* Declare it fragmented format */
             
-            allocarrayNoHeap(rowIndex, cols, rows, elementSize, &failed);
+            allocarrayNoHeap(rowIndex, rows, cols, elementSize, &failed);
         }
         rowIndex[rows+0] = NULL;   /* mark end of rows */
     }