[Python-checkins] r85692 - python/branches/py3k/Modules/_sqlite/row.c

georg.brandl python-checkins at python.org
Mon Oct 18 14:24:53 CEST 2010


Author: georg.brandl
Date: Mon Oct 18 14:24:53 2010
New Revision: 85692

Log:
Fix hash function type.

Modified:
   python/branches/py3k/Modules/_sqlite/row.c

Modified: python/branches/py3k/Modules/_sqlite/row.c
==============================================================================
--- python/branches/py3k/Modules/_sqlite/row.c	(original)
+++ python/branches/py3k/Modules/_sqlite/row.c	Mon Oct 18 14:24:53 2010
@@ -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);
 }


More information about the Python-checkins mailing list