fix thinko in memset() call

This commit is contained in:
Joel Dice 2007-06-08 20:33:26 -06:00
parent a29dc10313
commit 587fb18685

View File

@ -1624,7 +1624,7 @@ run(Thread* t)
default: abort(t);
}
memset(static_cast<object*>(instance) + (sizeof(object) * 2), 0,
memset(static_cast<uint8_t*>(array) + sizeof(object) + 4, 0,
c * factor);
push(t, array);