diff options
Diffstat (limited to 'src/interp/interp-wasm-c-api.cc')
-rw-r--r-- | src/interp/interp-wasm-c-api.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interp/interp-wasm-c-api.cc b/src/interp/interp-wasm-c-api.cc index 9952c289..44fe0868 100644 --- a/src/interp/interp-wasm-c-api.cc +++ b/src/interp/interp-wasm-c-api.cc @@ -537,21 +537,21 @@ static void print_sig(const FuncType& sig) { #ifndef NDEBUG fprintf(stderr, "("); bool first = true; - for (auto Type : sig.params) { + for (auto type : sig.params) { if (!first) { fprintf(stderr, ", "); } first = false; - fprintf(stderr, "%s", Type.GetName()); + fprintf(stderr, "%s", type.GetName().c_str()); } fprintf(stderr, ") -> ("); first = true; - for (auto Type : sig.results) { + for (auto type : sig.results) { if (!first) { fprintf(stderr, ", "); } first = false; - fprintf(stderr, "%s", Type.GetName()); + fprintf(stderr, "%s", type.GetName().c_str()); } fprintf(stderr, ")\n"); #endif |