Fix hash function type.
This commit is contained in:
parent
2a94f4c0ef
commit
016cec75bd
|
@ -166,7 +166,7 @@ static PyObject* pysqlite_iter(pysqlite_Row* self)
|
|||
return PyObject_GetIter(self->data);
|
||||
}
|
||||
|
||||
static long pysqlite_row_hash(pysqlite_Row *self)
|
||||
static Py_hash_t pysqlite_row_hash(pysqlite_Row *self)
|
||||
{
|
||||
return PyObject_Hash(self->description) ^ PyObject_Hash(self->data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue