Skip to content

Commit 016cec7

Browse files
committed
Fix hash function type.
1 parent 2a94f4c commit 016cec7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_sqlite/row.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ static PyObject* pysqlite_iter(pysqlite_Row* self)
166166
return PyObject_GetIter(self->data);
167167
}
168168

169-
static long pysqlite_row_hash(pysqlite_Row *self)
169+
static Py_hash_t pysqlite_row_hash(pysqlite_Row *self)
170170
{
171171
return PyObject_Hash(self->description) ^ PyObject_Hash(self->data);
172172
}

0 commit comments

Comments
 (0)