summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 63a272d78..c67670c67 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -412,7 +412,7 @@ public:
Name name, type;
if (import) {
name = import->name;
- type = import->type.name;
+ type = import->type->name;
} else {
name = function->name;
type = function->type;