diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2024-08-23 22:35:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 15:35:25 -0400 |
commit | 67f2c84bff06eb837fd5ca64466d79f038e22ef8 (patch) | |
tree | c9bb84d31c33da9db1cfafddbfb7007af221d05d /Python/bytecodes.c | |
parent | d7ae4dc5c14bc014ca0c056dab54c86ba8f395cb (diff) | |
download | cpython-67f2c84bff06eb837fd5ca64466d79f038e22ef8.tar.gz cpython-67f2c84bff06eb837fd5ca64466d79f038e22ef8.zip |
gh-123205: `Python/bytecodes.c`: Fix compiler warning (#123206)
Fix MSVC warning "conversion from '__int64' to 'int'"
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index fefa3af37a1..ad30fb3db03 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -2215,7 +2215,7 @@ dummy_func( *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 { |