From 2c278ed4a50b3a4cbb899de52c691fbfed4a9bd6 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 12 Jul 2001 21:48:10 +0000 Subject: Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh... --- Mac/Python/macglue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index 9c21ed2..c760107 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, -- cgit v0.12