From 56b42908a85fbbc19a0346f8eb4106ecc1f96fec Mon Sep 17 00:00:00 2001 From: Benbuck Nason Date: Mon, 3 Jun 2024 20:29:31 -0700 Subject: [PATCH] Fix internal global getter types (#3495) --- core/iwasm/common/wasm_runtime_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/iwasm/common/wasm_runtime_common.c b/core/iwasm/common/wasm_runtime_common.c index 3b08d3ec..794897cb 100644 --- a/core/iwasm/common/wasm_runtime_common.c +++ b/core/iwasm/common/wasm_runtime_common.c @@ -4170,7 +4170,7 @@ wasm_func_type_get_result_valkind(WASMFuncType *const func_type, } wasm_valkind_t -wasm_global_type_get_valkind(const wasm_global_type_t global_type) +wasm_global_type_get_valkind(WASMGlobalType *const global_type) { bh_assert(global_type); @@ -4178,7 +4178,7 @@ wasm_global_type_get_valkind(const wasm_global_type_t global_type) } bool -wasm_global_type_get_mutable(const wasm_global_type_t global_type) +wasm_global_type_get_mutable(WASMGlobalType *const global_type) { bh_assert(global_type);