From: Ronald Oussoren Date: Sun, 18 May 2008 20:47:13 +0000 (+0000) Subject: Make gestaltmodule.c 64-bit safe. X-Git-Tag: v2.6b1~336 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cc9fd7bd51affef65c334fb9161f0a36fd2de83;p=python Make gestaltmodule.c 64-bit safe. --- diff --git a/Mac/Modules/gestaltmodule.c b/Mac/Modules/gestaltmodule.c index ddfa94a181..fa1c93c453 100644 --- a/Mac/Modules/gestaltmodule.c +++ b/Mac/Modules/gestaltmodule.c @@ -34,7 +34,7 @@ gestalt_gestalt(PyObject *self, PyObject *args) { OSErr iErr; OSType selector; - long response; + SInt32 response; if (!PyArg_ParseTuple(args, "O&", PyMac_GetOSType, &selector)) return NULL; iErr = Gestalt ( selector, &response );