mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Oops, 'k' is the new format code for un unchecked 32 bit quantity,
not 'K'.
This commit is contained in:
parent
ecc6635ae4
commit
84c2b1b9aa
2 changed files with 6 additions and 6 deletions
|
@ -415,7 +415,7 @@ PyMac_BuildPoint(Point p)
|
|||
int
|
||||
PyMac_GetEventRecord(PyObject *v, EventRecord *e)
|
||||
{
|
||||
return PyArg_Parse(v, "(HKK(hh)H)",
|
||||
return PyArg_Parse(v, "(Hkk(hh)H)",
|
||||
&e->what,
|
||||
&e->message,
|
||||
&e->when,
|
||||
|
@ -471,7 +471,7 @@ PyMac_Getwide(PyObject *v, wide *rv)
|
|||
rv->hi = -1;
|
||||
return 1;
|
||||
}
|
||||
return PyArg_Parse(v, "(KK)", &rv->hi, &rv->lo);
|
||||
return PyArg_Parse(v, "(kk)", &rv->hi, &rv->lo);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue