Fix compilation warnings of wasi-nn (#3497)

This commit is contained in:
liang.he
2024-06-07 10:49:44 +08:00
committed by GitHub
parent bd44117676
commit 028f43bc18
11 changed files with 85 additions and 83 deletions

View File

@ -3182,7 +3182,7 @@ wasm_deinstantiate(WASMModuleInstance *module_inst, bool is_sub_inst)
if (!is_sub_inst) {
#if WASM_ENABLE_WASI_NN != 0
wasi_nn_destroy(module_inst);
wasi_nn_destroy((WASMModuleInstanceCommon *)module_inst);
#endif
wasm_native_call_context_dtors((WASMModuleInstanceCommon *)module_inst);
}