[Python-checkins] r63458 - python/trunk/Mac/Modules/gestaltmodule.c

ronald.oussoren python-checkins at python.org
Sun May 18 22:47:14 CEST 2008


Author: ronald.oussoren
Date: Sun May 18 22:47:13 2008
New Revision: 63458

Log:
Make gestaltmodule.c 64-bit safe.


Modified:
   python/trunk/Mac/Modules/gestaltmodule.c

Modified: python/trunk/Mac/Modules/gestaltmodule.c
==============================================================================
--- python/trunk/Mac/Modules/gestaltmodule.c	(original)
+++ python/trunk/Mac/Modules/gestaltmodule.c	Sun May 18 22:47:13 2008
@@ -34,7 +34,7 @@
 {
 	OSErr iErr;
 	OSType selector;
-	long response;
+	SInt32 response;
 	if (!PyArg_ParseTuple(args, "O&", PyMac_GetOSType, &selector))
 		return NULL;
 	iErr = Gestalt ( selector, &response );


More information about the Python-checkins mailing list