diff options
author | neonene <53406459+neonene@users.noreply.github.com> | 2022-06-10 08:10:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 08:10:04 (GMT) |
commit | d8395eb38d3d05f74a7f348da81a280ad272b8c8 (patch) | |
tree | 90c5b85bb30470f64d17d810c5aedf5e5fbf6a7d /Modules/_sqlite | |
parent | 30610d28374f5a9698d456cebf3ae496ac01af51 (diff) | |
download | cpython-d8395eb38d3d05f74a7f348da81a280ad272b8c8.zip cpython-d8395eb38d3d05f74a7f348da81a280ad272b8c8.tar.gz cpython-d8395eb38d3d05f74a7f348da81a280ad272b8c8.tar.bz2 |
gh-92434: Silence compiler warning in Modules/_sqlite/connection.c on 32-bit systems (#93090)
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r-- | Modules/_sqlite/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c index 7f7de8e..4ac0078 100644 --- a/Modules/_sqlite/connection.c +++ b/Modules/_sqlite/connection.c @@ -2091,7 +2091,7 @@ serialize_impl(pysqlite_Connection *self, const char *name) name); return NULL; } - PyObject *res = PyBytes_FromStringAndSize(data, size); + PyObject *res = PyBytes_FromStringAndSize(data, (Py_ssize_t)size); if (!(flags & SQLITE_SERIALIZE_NOCOPY)) { sqlite3_free((void *)data); } |