From 98646954da2b3b6a274f52d8817eee5366a4856b Mon Sep 17 00:00:00 2001 From: Martin Kos Date: Sat, 14 Dec 2024 12:05:42 +0100 Subject: [PATCH] fix(wavm) use PRIu64 for printf portability across architectures --- src/wasm/vm/ngx_wavm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wasm/vm/ngx_wavm.c b/src/wasm/vm/ngx_wavm.c index 8c576b701..ec0337375 100644 --- a/src/wasm/vm/ngx_wavm.c +++ b/src/wasm/vm/ngx_wavm.c @@ -1151,7 +1151,7 @@ ngx_wavm_val_vec_set(wasm_val_vec_t *out, const wasm_valtype_vec_t *valtypes, case WASM_I64: ui64 = va_arg(args, uint64_t); - dd("arg %ld i64: %llu", i, ui64); + dd("arg %ld i64: %" PRIu64, i, ui64); ngx_wasm_vec_set_i64(out, i, ui64); break;