diff options
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Modules/evt/Evtmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/evt/evtsupport.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/evt/Evtmodule.c b/Mac/Modules/evt/Evtmodule.c index 093c470..c161c75 100644 --- a/Mac/Modules/evt/Evtmodule.c +++ b/Mac/Modules/evt/Evtmodule.c @@ -328,7 +328,7 @@ static PyObject *Evt_WaitNextEvent(_self, _args) UInt32 sleep; Handle mouseregion = (Handle)0; - if (!PyArg_ParseTuple(_args, "hl|O&", + if (!PyArg_ParseTuple(_args, "Hl|O&", &eventMask, &sleep, OptResObj_Convert, &mouseregion)) diff --git a/Mac/Modules/evt/evtsupport.py b/Mac/Modules/evt/evtsupport.py index d4fb595..7725ded 100644 --- a/Mac/Modules/evt/evtsupport.py +++ b/Mac/Modules/evt/evtsupport.py @@ -79,7 +79,7 @@ EventRecord theEvent; UInt32 sleep; Handle mouseregion = (Handle)0; -if (!PyArg_ParseTuple(_args, "hl|O&", +if (!PyArg_ParseTuple(_args, "Hl|O&", &eventMask, &sleep, OptResObj_Convert, &mouseregion)) |