aboutsummaryrefslogtreecommitdiff
path: root/bowl.c
diff options
context:
space:
mode:
Diffstat (limited to 'bowl.c')
-rw-r--r--bowl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bowl.c b/bowl.c
index 248ac37..9d12c69 100644
--- a/bowl.c
+++ b/bowl.c
@@ -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;
}