Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh...

This commit is contained in:
Jack Jansen 2001-07-12 21:48:10 +00:00
parent fd4ff52c22
commit 2c278ed4a5

View file

@ -1082,7 +1082,7 @@ PyMac_BuildPoint(Point p)
int
PyMac_GetEventRecord(PyObject *v, EventRecord *e)
{
return PyArg_Parse(v, "(hll(hh)h)",
return PyArg_Parse(v, "(Hll(hh)H)",
&e->what,
&e->message,
&e->when,