Skip to content

Commit

Permalink
fix mac compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
victoryang00 committed Feb 13, 2024
1 parent ff2f6ee commit 16bc26b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/checkpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void serialize_to_file(WASMExecEnv *instance) {
wamr->should_snapshot = true;
}
// If we're not all ready
SPDLOG_DEBUG("thread {}, with {} ready out of {} total", instance->handle, wamr->ready, all_count);
SPDLOG_DEBUG("thread {}, with {} ready out of {} total", ((uint64_t)instance->handle), wamr->ready, all_count);
#endif
#if !defined(_WIN32)
if (!wamr->socket_fd_map_.empty() && wamr->should_snapshot) {
Expand Down
2 changes: 1 addition & 1 deletion src/wamr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ void wamr_wait(wasm_exec_env_t exec_env) {
SPDLOG_DEBUG("finish child restore");
wakeup.acquire();
#if WASM_ENABLE_LIB_PTHREAD != 0
SPDLOG_DEBUG("go child!! {}", exec_env->handle);
SPDLOG_DEBUG("go child!! {}", ((uint64_t)exec_env->handle));
wamr->replay_sync_ops(false, exec_env);
SPDLOG_DEBUG("finish syncing");
#endif
Expand Down

0 comments on commit 16bc26b

Please sign in to comment.