Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix compiler warnings on Windows.
  • Loading branch information
markshannon committed Oct 14, 2021
commit 03e7ad9fa0fd5235bfea7785817a4685663ee5bd
4 changes: 2 additions & 2 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -4584,14 +4584,14 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, InterpreterFrame *frame, int thr
kwnames = POP();
int is_method = (PEEK(oparg + 2) != NULL);
oparg += is_method;
nargs = oparg - PyTuple_GET_SIZE(kwnames);
nargs = oparg - (int)PyTuple_GET_SIZE(kwnames);
Comment thread
markshannon marked this conversation as resolved.
stackadj = 2-is_method;
goto call_function;
}

TARGET(CALL_FUNCTION_KW) {
kwnames = POP();
nargs = oparg - PyTuple_GET_SIZE(kwnames);
nargs = oparg - (int)PyTuple_GET_SIZE(kwnames);
stackadj = 1;
goto call_function;
}
Expand Down