From 6cc9fd7bd51affef65c334fb9161f0a36fd2de83 Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Sun, 18 May 2008 20:47:13 +0000 Subject: [PATCH] Make gestaltmodule.c 64-bit safe. --- Mac/Modules/gestaltmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.50.1