Fix hash function type.

This commit is contained in:
Georg Brandl 2010-10-18 12:24:53 +00:00
parent 2a94f4c0ef
commit 016cec75bd
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}