Use XCALLOC / XZALLOC macros where reasonable
[pspp] / src / libpspp / bit-vector.c
index 79367248f0ae8653c9463709dc03c4702daa860e..5198c89c216bf94ba14b8e226a9768cd3c303f77 100644 (file)
@@ -25,8 +25,7 @@
 unsigned long int *
 bitvector_allocate(size_t n)
 {
-  return xcalloc (DIV_RND_UP (n, BITS_PER_ULONG),
-                  sizeof (unsigned long int));
+  return XCALLOC (DIV_RND_UP (n, BITS_PER_ULONG), unsigned long int);
 }
 
 size_t