diff options
Diffstat (limited to 'bowl.c')
-rw-r--r-- | bowl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,7 +31,8 @@ err_t bowl_malloc(struct bowl **ptr, bowl_t type) switch((*ptr)->type) { case LEAF: return OK; // No further allocation needed - case ARRAY | HASH: return array_malloc(*ptr, ARRAY_START_SIZE); + case ARRAY: + case HASH: return array_malloc(*ptr, ARRAY_START_SIZE); default: return INVALID_STATE; } |