From 74b4434a8177dab4397c32b12c2f45dd06cda546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Mon, 11 Jul 2022 21:00:22 +0200 Subject: [PATCH] standalone: Use putchar for emit --- src/standalone/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/standalone/main.c b/src/standalone/main.c index e093296..60ee359 100644 --- a/src/standalone/main.c +++ b/src/standalone/main.c @@ -46,7 +46,7 @@ void print_trap(wasm_trap_t *trap) { //////////////////////////////////////////////////////////////////////////////// wasm_trap_t *emit_cb(const wasm_val_vec_t *args, wasm_val_vec_t *results) { - printf("%c", args->data[0].of.i32); + putchar(args->data[0].of.i32); return NULL; }