Skip to content

Commit 051dfbb

Browse files
authored
Fix a typo in is_win_platform (#2490)
1 parent 7f996a4 commit 051dfbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/iwasm/compilation/aot_emit_function.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ is_win_platform(AOTCompContext *comp_ctx)
2323
{
2424
char *triple = LLVMGetTargetMachineTriple(comp_ctx->target_machine);
2525

26-
bh_assert(trip);
26+
bh_assert(triple);
2727
if (strstr(triple, "win32") || strstr(triple, "win"))
2828
return true;
2929
return false;

0 commit comments

Comments
 (0)