summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-02-16 18:52:17 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-02-16 18:52:17 (GMT)
commit26861b0b29fdf64fba8cd120183408495f2c80e2 (patch)
tree68aa9e4560327db352dcbda56bf3ea0325bde0f7 /Modules/_sqlite
parent4d0d9829851915e97ae392dd803976be6c95c8d1 (diff)
downloadcpython-26861b0b29fdf64fba8cd120183408495f2c80e2.zip
cpython-26861b0b29fdf64fba8cd120183408495f2c80e2.tar.gz
cpython-26861b0b29fdf64fba8cd120183408495f2c80e2.tar.bz2
Issue #23450: Fixed possible integer overflows.
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r--Modules/_sqlite/row.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/row.c b/Modules/_sqlite/row.c
index 64dfd06..ed8ad47 100644
--- a/Modules/_sqlite/row.c
+++ b/Modules/_sqlite/row.c
@@ -159,7 +159,7 @@ Py_ssize_t pysqlite_row_length(pysqlite_Row* self, PyObject* args, PyObject* kwa
PyObject* pysqlite_row_keys(pysqlite_Row* self, PyObject* args, PyObject* kwargs)
{
PyObject* list;
- int nitems, i;
+ Py_ssize_t nitems, i;
list = PyList_New(0);
if (!list) {