diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-05-18 20:47:13 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-05-18 20:47:13 (GMT) |
commit | 6cc9fd7bd51affef65c334fb9161f0a36fd2de83 (patch) | |
tree | 2eb8cbb0ba89a759145ed082f469d6dcbecb158a /Mac/Modules/gestaltmodule.c | |
parent | 099646f29a7521318fd8a9753ee4522769488122 (diff) | |
download | cpython-6cc9fd7bd51affef65c334fb9161f0a36fd2de83.zip cpython-6cc9fd7bd51affef65c334fb9161f0a36fd2de83.tar.gz cpython-6cc9fd7bd51affef65c334fb9161f0a36fd2de83.tar.bz2 |
Make gestaltmodule.c 64-bit safe.
Diffstat (limited to 'Mac/Modules/gestaltmodule.c')
-rw-r--r-- | Mac/Modules/gestaltmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/gestaltmodule.c b/Mac/Modules/gestaltmodule.c index ddfa94a..fa1c93c 100644 --- a/Mac/Modules/gestaltmodule.c +++ b/Mac/Modules/gestaltmodule.c @@ -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 ); |