Skip to content

Commit

Permalink
fix wasm_type_equal parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene Ermler committed Sep 9, 2024
1 parent 30a3214 commit c15c751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/iwasm/interpreter/wasm_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,7 @@ wasm_loader_resolve_tag(const char *module_name, const char *tag_name,
}

/* check function type */
if (!wasm_type_equal(expected_tag_type, tag->tag_type)) {
if (!wasm_type_equal(expected_tag_type, tag->tag_type, NULL, 0)) {
LOG_DEBUG("%s.%s failed the type check", module_name, tag_name);
set_error_buf(error_buf, error_buf_size, "incompatible import type");
return NULL;
Expand Down

0 comments on commit c15c751

Please sign in to comment.