commit | 016cec75bd43b29240370f81319ceccdab5cc771 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon Oct 18 12:24:53 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Mon Oct 18 12:24:53 2010 +0000 |
tree | a6bb17475f3d697314e2b5e16a378092b0d10960 | |
parent | 2a94f4c0ef140b1d6de389e406ad8af34afbf167 [diff] |
Fix hash function type.
diff --git a/Modules/_sqlite/row.c b/Modules/_sqlite/row.c index 3decb8d..3d44094 100644 --- a/Modules/_sqlite/row.c +++ b/Modules/_sqlite/row.c
@@ -166,7 +166,7 @@ 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); }