diff options
-rw-r--r-- | MultiSource/Benchmarks/MallocBench/gs/zarray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MultiSource/Benchmarks/MallocBench/gs/zarray.c b/MultiSource/Benchmarks/MallocBench/gs/zarray.c index 122ab98d..3b8a18ff 100644 --- a/MultiSource/Benchmarks/MallocBench/gs/zarray.c +++ b/MultiSource/Benchmarks/MallocBench/gs/zarray.c @@ -70,7 +70,7 @@ zastore(register ref *op) size = op->size; if ( size > op - osbot ) return e_stackunderflow; refcpy(op->value.refs, op - size, size); - op[-size] = *op; + op[-((intptr_t)size)] = *op; pop(size); return 0; } |