Change wasm app offset type from int32 to uint32 (#361)

And fix some sign/unsigned conversion compilation warnings.
This commit is contained in:
Wenyong Huang
2020-08-26 18:33:29 +08:00
committed by GitHub
parent 049760b849
commit 034606b0a9
20 changed files with 191 additions and 179 deletions

View File

@ -32,7 +32,7 @@ int main(int argc, char *argv_main[])
wasm_function_inst_t func = NULL;
wasm_function_inst_t func2 = NULL;
char * native_buffer = NULL;
int32_t wasm_buffer = 0;
uint32_t wasm_buffer = 0;
RuntimeInitArgs init_args;
memset(&init_args, 0, sizeof(RuntimeInitArgs));