Fix typo of WAMR_CONFIGUABLE_BOUNDS_CHECKS (#3424)
Change to WAMR_CONFIGURABLE_BOUNDS_CHECKS, and fix CodeQL compilation errors which were introduced by PR #3406. ps. https://github.com/bytecodealliance/wasm-micro-runtime/pull/3393#discussion_r1591810998 https://github.com/bytecodealliance/wasm-micro-runtime/actions/runs/9055318553/job/24876266629
This commit is contained in:
@ -2410,8 +2410,8 @@ wasm_loader_resolve_global(const char *module_name, const char *global_name,
|
||||
if (global->type.val_type != type
|
||||
|| global->type.is_mutable != is_mutable) {
|
||||
LOG_DEBUG("%s,%s failed type check(%d, %d), expected(%d, %d)",
|
||||
module_name, global_name, global->type, global->is_mutable,
|
||||
type, is_mutable);
|
||||
module_name, global_name, global->type.val_type,
|
||||
global->type.is_mutable, type, is_mutable);
|
||||
set_error_buf(error_buf, error_buf_size, "incompatible import type");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user