From: Jack Jansen Date: Thu, 12 Jul 2001 21:48:10 +0000 (+0000) Subject: Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh... X-Git-Tag: v2.2a3~1238 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c278ed4a50b3a4cbb899de52c691fbfed4a9bd6;p=thirdparty%2FPython%2Fcpython.git Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh... --- diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index 9c21ed20abff..c760107a990f 100644 --- a/Mac/Python/macglue.c +++ b/Mac/Python/macglue.c @@ -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,