Make gestaltmodule.c 64-bit safe.
This commit is contained in:
parent
099646f29a
commit
6cc9fd7bd5
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue