From: Georg Brandl Date: Mon, 18 Oct 2010 12:24:53 +0000 (+0000) Subject: Fix hash function type. X-Git-Tag: v3.2a4~436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=016cec75bd43b29240370f81319ceccdab5cc771;p=python Fix hash function type. --- 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); }