Skip to content

Commit 493c722

Browse files
committed
fix warning
1 parent aa05437 commit 493c722

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/iwasm/aot/aot_runtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4651,7 +4651,7 @@ aot_get_wasm_func_exec_time(const AOTModuleInstance *inst,
46514651
AOTFuncPerfProfInfo *perf_prof =
46524652
(AOTFuncPerfProfInfo *)inst->func_perf_profilings + i;
46534653
return (perf_prof->total_exec_time - perf_prof->children_exec_time)
4654-
/ 1000.0f;
4654+
/ 1000.0;
46554655
}
46564656
}
46574657

core/iwasm/interpreter/wasm_runtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3780,7 +3780,7 @@ wasm_get_wasm_func_exec_time(const WASMModuleInstance *inst,
37803780
char *name_in_wasm = get_func_name_from_index(inst, i);
37813781
if (name_in_wasm && strcmp(name_in_wasm, func_name) == 0) {
37823782
WASMFunctionInstance *func = inst->e->functions + i;
3783-
return (func->total_exec_time - func->children_exec_time) / 1000.0f;
3783+
return (func->total_exec_time - func->children_exec_time) / 1000.0;
37843784
}
37853785
}
37863786

0 commit comments

Comments
 (0)