Skip to content

Commit

Permalink
gh-92434: Silence compiler warning in Modules/_sqlite/connection.c on…
Browse files Browse the repository at this point in the history
… 32-bit systems (#93090)
  • Loading branch information
neonene authored Jun 10, 2022
1 parent 30610d2 commit d8395eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d8395eb

Please sign in to comment.