summaryrefslogtreecommitdiff
path: root/src/tools/spec-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/spec-wrapper.h')
-rw-r--r--src/tools/spec-wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/spec-wrapper.h b/src/tools/spec-wrapper.h
index 4da746a5d..82c45ffb6 100644
--- a/src/tools/spec-wrapper.h
+++ b/src/tools/spec-wrapper.h
@@ -27,7 +27,7 @@ static std::string generateSpecWrapper(Module& wasm) {
auto* func = wasm.getFunctionOrNull(exp->value);
if (!func) continue; // something exported other than a function
ret += std::string("(invoke \"hangLimitInitializer\") (invoke \"") + exp->name.str + "\" ";
- for (WasmType param : func->params) {
+ for (Type param : func->params) {
// zeros in arguments TODO more?
switch (param) {
case i32: ret += "(i32.const 0)"; break;