summaryrefslogtreecommitdiff
path: root/src/c-writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/c-writer.cc')
-rw-r--r--src/c-writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c-writer.cc b/src/c-writer.cc
index d7a61f42..9b92cb82 100644
--- a/src/c-writer.cc
+++ b/src/c-writer.cc
@@ -1858,7 +1858,7 @@ void CWriter::WriteTailCallWeakImports() {
Index num_results = func.GetNumResults();
if (num_params >= 1) {
Write(func.decl.sig.param_types, " params;", Newline());
- Write("wasm_rt_memcpy(params, tail_call_stack, sizeof(params);",
+ Write("wasm_rt_memcpy(params, tail_call_stack, sizeof(params));",
Newline());
}