diff options
author | Georg Brandl <georg@python.org> | 2010-10-18 12:24:53 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-18 12:24:53 (GMT) |
commit | 016cec75bd43b29240370f81319ceccdab5cc771 (patch) | |
tree | a6bb17475f3d697314e2b5e16a378092b0d10960 /Modules/_sqlite | |
parent | 2a94f4c0ef140b1d6de389e406ad8af34afbf167 (diff) | |
download | cpython-016cec75bd43b29240370f81319ceccdab5cc771.zip cpython-016cec75bd43b29240370f81319ceccdab5cc771.tar.gz cpython-016cec75bd43b29240370f81319ceccdab5cc771.tar.bz2 |
Fix hash function type.
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r-- | Modules/_sqlite/row.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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); } |