Skip to content

Commit

Permalink
Merge pull request #2399 from Wang-Yue/patch-8
Browse files Browse the repository at this point in the history
pointers should be printed with %p
  • Loading branch information
nesbox authored Dec 10, 2023
2 parents a3b50ec + 63e2631 commit 8bae7dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/wasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ void deinitWasmRuntime( IM3Runtime runtime )
return;
}
IM3Environment env = runtime -> environment;
printf("deiniting env %d\n", env);
printf("deiniting env %p\n", env);

tic_core* tic = getWasmCore(runtime);
m3_FreeRuntime (runtime);
Expand Down Expand Up @@ -1069,7 +1069,7 @@ static bool initWasm(tic_mem* tic, const char* code)
{
// closeWasm(tic);
tic_core* core = (tic_core*)tic;
dbg("Initializing WASM3 runtime %d\n", core);
dbg("Initializing WASM3 runtime %p\n", core);

IM3Environment env = m3_NewEnvironment ();
if(!env)
Expand Down

0 comments on commit 8bae7dd

Please sign in to comment.