Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c278ed

Browse files
committed
Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh...
1 parent fd4ff52 commit 2c278ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Python/macglue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ PyMac_BuildPoint(Point p)
10821082
int
10831083
PyMac_GetEventRecord(PyObject *v, EventRecord *e)
10841084
{
1085-
return PyArg_Parse(v, "(hll(hh)h)",
1085+
return PyArg_Parse(v, "(Hll(hh)H)",
10861086
&e->what,
10871087
&e->message,
10881088
&e->when,

0 commit comments

Comments
 (0)