summaryrefslogtreecommitdiff
path: root/table11.c
diff options
context:
space:
mode:
Diffstat (limited to 'table11.c')
-rw-r--r--table11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/table11.c b/table11.c
index bfcef73..02dc5fb 100644
--- a/table11.c
+++ b/table11.c
@@ -147,7 +147,7 @@ CreateValueRec (
int i;
bucket = &buckets[HASH(key)];
- value = (ValuePtr) malloc (sizeof (ValueRec) + size * sizeof (unsigned long));
+ value = malloc (sizeof (ValueRec) + (size * sizeof (unsigned long)));
if (!value)
return;
value->values = (unsigned long *) (value + 1);