Skip to content

Commit 03e7ad9

Browse files
committed
Fix compiler warnings on Windows.
1 parent 7c0f498 commit 03e7ad9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/ceval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4584,14 +4584,14 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, InterpreterFrame *frame, int thr
45844584
kwnames = POP();
45854585
int is_method = (PEEK(oparg + 2) != NULL);
45864586
oparg += is_method;
4587-
nargs = oparg - PyTuple_GET_SIZE(kwnames);
4587+
nargs = oparg - (int)PyTuple_GET_SIZE(kwnames);
45884588
stackadj = 2-is_method;
45894589
goto call_function;
45904590
}
45914591

45924592
TARGET(CALL_FUNCTION_KW) {
45934593
kwnames = POP();
4594-
nargs = oparg - PyTuple_GET_SIZE(kwnames);
4594+
nargs = oparg - (int)PyTuple_GET_SIZE(kwnames);
45954595
stackadj = 1;
45964596
goto call_function;
45974597
}

0 commit comments

Comments
 (0)