mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-123205: Python/bytecodes.c
: Fix compiler warning (#123206)
Fix MSVC warning "conversion from '__int64' to 'int'"
This commit is contained in:
parent
d7ae4dc5c1
commit
67f2c84bff
3 changed files with 3 additions and 3 deletions
2
Python/generated_cases.c.h
generated
2
Python/generated_cases.c.h
generated
|
@ -6881,7 +6881,7 @@
|
|||
*value_ptr = PyStackRef_AsPyObjectSteal(value);
|
||||
if (old_value == NULL) {
|
||||
PyDictValues *values = _PyObject_InlineValues(owner_o);
|
||||
int index = value_ptr - values->values;
|
||||
Py_ssize_t index = value_ptr - values->values;
|
||||
_PyDictValues_AddToInsertionOrder(values, index);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue