Mercurial > cpython-lru_cache-weakref
diff Python/mactoolboxglue.c @ 28655:16f47bd431c4 legacy-trunk
Oops, 'k' is the new format code for un unchecked 32 bit quantity,
not 'K'.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 17 Apr 2003 20:44:21 +0000 |
| parents | 1e9004553e1d |
| children | b372b903d10e |
line wrap: on
line diff
--- a/Python/mactoolboxglue.c Thu Apr 17 20:40:07 2003 +0000 +++ b/Python/mactoolboxglue.c Thu Apr 17 20:44:21 2003 +0000 @@ -415,7 +415,7 @@ 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 @@ rv->hi = -1; return 1; } - return PyArg_Parse(v, "(KK)", &rv->hi, &rv->lo); + return PyArg_Parse(v, "(kk)", &rv->hi, &rv->lo); }
