diff --git a/runtime/src/libc/syscall.c b/runtime/src/libc/syscall.c index c389b95..7fca22c 100644 --- a/runtime/src/libc/syscall.c +++ b/runtime/src/libc/syscall.c @@ -488,7 +488,7 @@ wasm_writev(int32_t fd, int32_t iov_offset, int32_t iovcnt) int32_t len = iov[i].len; void * ptr = worker_thread_get_memory_ptr_void(iov[i].base_offset, len); - printf("%.*s", len, ptr); + printf("%.*s", len, (char *)ptr); sum += len; } return sum;