From 85ea1022806a35989bbc687356924a666beb9c87 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Mon, 20 Nov 2023 09:49:47 +0800 Subject: [PATCH] Fix return type in wasm_loader_get_custom_section function --- core/iwasm/interpreter/wasm_loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/iwasm/interpreter/wasm_loader.c b/core/iwasm/interpreter/wasm_loader.c index 9e88e20517..f831073cdb 100644 --- a/core/iwasm/interpreter/wasm_loader.c +++ b/core/iwasm/interpreter/wasm_loader.c @@ -7026,7 +7026,7 @@ wasm_loader_get_custom_section(WASMModule *module, const char *name, section = section->next; } - return false; + return NULL; } #endif