Skip to content

Commit

Permalink
misc(ngx_wavm) fix a format specifier in a debug log
Browse files Browse the repository at this point in the history
Use `PRIu64` for portability across architectures (#655).
  • Loading branch information
dev-null-undefined authored Dec 18, 2024
1 parent 883b627 commit 67a4fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wasm/vm/ngx_wavm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 67a4fca

Please sign in to comment.