Commit 016cec75 authored by Georg Brandl's avatar Georg Brandl

Fix hash function type.

parent 2a94f4c0
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment