diff --git a/lib/wasm-micro-runtime b/lib/wasm-micro-runtime index 533f27a..ab2148d 160000 --- a/lib/wasm-micro-runtime +++ b/lib/wasm-micro-runtime @@ -1 +1 @@ -Subproject commit 533f27afbb1f68e2cd8e9caab35f4a7bf3a1dfae +Subproject commit ab2148d9a913cd0a41ec6125a9c73e2b2ab78af8 diff --git a/src/checkpoint.cpp b/src/checkpoint.cpp index b702149..8572380 100644 --- a/src/checkpoint.cpp +++ b/src/checkpoint.cpp @@ -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) { diff --git a/src/wamr.cpp b/src/wamr.cpp index 08b1247..7ee3132 100644 --- a/src/wamr.cpp +++ b/src/wamr.cpp @@ -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