Skip to content

Commit 67a4fca

Browse files
misc(ngx_wavm) fix a format specifier in a debug log
Use `PRIu64` for portability across architectures (#655).
1 parent 883b627 commit 67a4fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wasm/vm/ngx_wavm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ ngx_wavm_val_vec_set(wasm_val_vec_t *out, const wasm_valtype_vec_t *valtypes,
11511151

11521152
case WASM_I64:
11531153
ui64 = va_arg(args, uint64_t);
1154-
dd("arg %ld i64: %llu", i, ui64);
1154+
dd("arg %ld i64: %" PRIu64, i, ui64);
11551155
ngx_wasm_vec_set_i64(out, i, ui64);
11561156
break;
11571157

0 commit comments

Comments
 (0)