* lib/bitset.c (bitset_alloc): Don't cast xcalloc result.

* lib/bitset_stats.c (bitset_stats_init): Likewise.
* lib/bitsetv.c (bitsetv_alloc): Likewise.
This commit is contained in:
Paul Eggert
2005-07-22 22:30:13 +00:00
parent 26a69b31fa
commit 89519adfbe
3 changed files with 6 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ bitset_alloc (bitset_bindex n_bits, enum bitset_type type)
bytes = bitset_bytes (type, n_bits);
bset = (bitset) xcalloc (1, bytes);
bset = xcalloc (1, bytes);
/* The cache is disabled until some elements are allocated. If we
have variable length arrays, then we may need to allocate a dummy