summaryrefslogtreecommitdiff
path: root/src/wasm-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-check.c')
-rw-r--r--src/wasm-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-check.c b/src/wasm-check.c
index fb33d1e0..09b904ee 100644
--- a/src/wasm-check.c
+++ b/src/wasm-check.c
@@ -843,7 +843,7 @@ static WasmResult check_module(WasmCheckContext* ctx, WasmModule* module) {
result |= check_import(ctx, module, &field->loc, &field->import);
break;
case WASM_MODULE_FIELD_TYPE_EXPORT:
- result |= check_export(ctx, module, &field->wasm_export);
+ result |= check_export(ctx, module, &field->export_);
break;
case WASM_MODULE_FIELD_TYPE_TABLE:
if (seen_table) {