mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-92434: Silence compiler warning in Modules/_sqlite/connection.c on 32-bit systems (#93090)
This commit is contained in:
parent
30610d2837
commit
d8395eb38d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue