]> granicus.if.org Git - python/commitdiff
Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh...
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 12 Jul 2001 21:48:10 +0000 (21:48 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 12 Jul 2001 21:48:10 +0000 (21:48 +0000)
Mac/Python/macglue.c

index 9c21ed20abffcb345d1c1d6680e290f54c6694e4..c760107a990f16ebb4af31dbd2cba45f5d41bd7f 100644 (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,