From 67a4fca0b95c56b083c6336d237801400cd42228 Mon Sep 17 00:00:00 2001 From: dev-null-undefined <50732964+dev-null-undefined@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:09:23 +0100 Subject: [PATCH] misc(ngx_wavm) fix a format specifier in a debug log Use `PRIu64` for portability across architectures (#655). --- 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;