Possible loss of data warnings when building 32bit executable since 3.11 · Issue #92434 · python/cpython (original) (raw)

Windows (x86) buildbot shows two warnings on main branch:

D:\a\cpython\cpython\Modules\_xxsubinterpretersmodule.c(2341,9): warning C4244:
'function': conversion from 'int64_t' to 'Py_ssize_t', possible loss of data
D:\a\cpython\cpython\Modules\_sqlite\connection.c(2122,53): warning C4244:
'function': conversion from 'sqlite3_int64' to 'Py_ssize_t', possible loss of data

I'm not sure how to deal with them.