diff --git a/runtime/src/memory/64bit_nix.c b/runtime/src/memory/64bit_nix.c index b76177e..9206cf0 100644 --- a/runtime/src/memory/64bit_nix.c +++ b/runtime/src/memory/64bit_nix.c @@ -30,7 +30,7 @@ expand_memory(void) // FIXME: max_pages = 0 => no limit. Issue #103. assert((sandbox->sandbox_size + local_sandbox_context_cache.linear_memory_size) / WASM_PAGE_SIZE < WASM_MAX_PAGES); - assert(sandbox->state = SANDBOX_RUNNING); + assert(sandbox->state == SANDBOX_RUNNING); // Remap the relevant wasm page to readable char *mem_as_chars = local_sandbox_context_cache.linear_memory_start; char *page_address = &mem_as_chars[local_sandbox_context_cache.linear_memory_size];