Skip to content

Commit

Permalink
Merge pull request #13 from geky/patch-1
Browse files Browse the repository at this point in the history
Fix grow_memory units
  • Loading branch information
kanaka authored Oct 1, 2019
2 parents 6dab9f3 + 996eb08 commit 385e13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wa.c
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ bool interpret(Module *m) {
m->memory.bytes = arecalloc(m->memory.bytes,
prev_pages*PAGE_SIZE,
m->memory.pages*PAGE_SIZE,
sizeof(uint32_t),
sizeof(uint8_t),
"Module->memory.bytes");
continue;

Expand Down

0 comments on commit 385e13c

Please sign in to comment.