Skip to content

Commit 5e980ac

Browse files
author
ronald.oussoren
committed
Make gestaltmodule.c 64-bit safe.
git-svn-id: http://svn.python.org/projects/python/trunk@63458 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 85216fd commit 5e980ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Modules/gestaltmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ gestalt_gestalt(PyObject *self, PyObject *args)
3434
{
3535
OSErr iErr;
3636
OSType selector;
37-
long response;
37+
SInt32 response;
3838
if (!PyArg_ParseTuple(args, "O&", PyMac_GetOSType, &selector))
3939
return NULL;
4040
iErr = Gestalt ( selector, &response );

0 commit comments

Comments
 (0)