Make gestaltmodule.c 64-bit safe.

This commit is contained in:
Ronald Oussoren 2008-05-18 20:47:13 +00:00
parent 099646f29a
commit 6cc9fd7bd5
1 changed files with 1 additions and 1 deletions

View File

@ -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 );