From: Georg Brandl Date: Mon, 18 Oct 2010 07:30:06 +0000 (+0000) Subject: Fix type of hash function. X-Git-Tag: v3.2a4~447 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d49bf5e8a5b167c38ec3e1df66492198e3f2e8f9;p=python Fix type of hash function. --- diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index aaf46eac68..c074574e36 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -2478,7 +2478,7 @@ static PyBufferProcs PyCData_as_buffer = { /* * CData objects are mutable, so they cannot be hashable! */ -static long +static Py_hash_t PyCData_nohash(PyObject *self) { PyErr_SetString(PyExc_TypeError, "unhashable type");