mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
20 lines
544 B
Diff
20 lines
544 B
Diff
*** Mac/Modules/gestaltmodule.c 2010-11-21 15:35:00.000000000 +0900
|
|
--- Mac/Modules/gestaltmodule.c.new 2010-11-21 15:48:27.000000000 +0900
|
|
***************
|
|
*** 34,40 ****
|
|
{
|
|
OSErr iErr;
|
|
OSType selector;
|
|
! long response;
|
|
if (!PyArg_Parse(args, "O&", PyMac_GetOSType, &selector))
|
|
return NULL;
|
|
iErr = Gestalt ( selector, &response );
|
|
--- 34,40 ----
|
|
{
|
|
OSErr iErr;
|
|
OSType selector;
|
|
! SInt32 response;
|
|
if (!PyArg_Parse(args, "O&", PyMac_GetOSType, &selector))
|
|
return NULL;
|
|
iErr = Gestalt ( selector, &response );
|