Revert "work on crash"
[pspp] / src / libpspp / bit-vector.c
index 2b982915239a1f935ea13084393c0df32a258a56..5198c89c216bf94ba14b8e226a9768cd3c303f77 100644 (file)
@@ -25,7 +25,7 @@
 unsigned long int *
 bitvector_allocate(size_t n)
 {
-  return xcalloc (sizeof (unsigned long int), DIV_RND_UP (n, BITS_PER_ULONG));
+  return XCALLOC (DIV_RND_UP (n, BITS_PER_ULONG), unsigned long int);
 }
 
 size_t