Skip to content

Commit 0b257c3

Browse files
committed
fix windows issue
1 parent 6a37d81 commit 0b257c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ast_opt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static ControlFlowInFinallyContext*
3939
get_cf_finally_top(_PyASTOptimizeState *state)
4040
{
4141
int idx = state->cf_finally_used;
42-
return state->cf_finally.array + idx * sizeof(ControlFlowInFinallyContext);
42+
return ((ControlFlowInFinallyContext*)state->cf_finally.array) + idx;
4343
}
4444

4545
static int

0 commit comments

Comments
 (0)