From 016cec75bd43b29240370f81319ceccdab5cc771 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 18 Oct 2010 12:24:53 +0000 Subject: Fix hash function type. --- Modules/_sqlite/row.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/_sqlite/row.c') diff --git a/Modules/_sqlite/row.c b/Modules/_sqlite/row.c index 3decb8d5e6..3d440942f9 100644 --- a/Modules/_sqlite/row.c +++ b/Modules/_sqlite/row.c @@ -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); } -- cgit v1.2.1