Fix os_cond_timedwait and other issues for NuttX sim/macOS (#562)

This commit is contained in:
YAMAMOTO Takashi
2021-05-31 10:56:47 +09:00
committed by GitHub
parent 631838cfd9
commit 15dd651539
6 changed files with 22 additions and 8 deletions

View File

@ -3618,7 +3618,7 @@ wasm_loader_find_block_addr(BlockAddr *block_addr_cache,
uint32 block_nested_depth = 1, count, i, j, t;
uint32 error_buf_size = sizeof(error_buf);
uint8 opcode, u8;
BlockAddr block_stack[16] = { 0 }, *block;
BlockAddr block_stack[16] = {{0}}, *block;
i = ((uintptr_t)start_addr) & (uintptr_t)(BLOCK_ADDR_CACHE_SIZE - 1);
block = block_addr_cache + BLOCK_ADDR_CONFLICT_SIZE * i;