diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-04-17 20:44:21 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-04-17 20:44:21 (GMT) |
commit | 84c2b1b9aa3a596b597d37e6258c790987e50963 (patch) | |
tree | aa53f5c3656db7199ec40e74c4fa2b2b5cb0767a /Python/mactoolboxglue.c | |
parent | ecc6635ae444440049172829a4f7590acf58725a (diff) | |
download | cpython-84c2b1b9aa3a596b597d37e6258c790987e50963.zip cpython-84c2b1b9aa3a596b597d37e6258c790987e50963.tar.gz cpython-84c2b1b9aa3a596b597d37e6258c790987e50963.tar.bz2 |
Oops, 'k' is the new format code for un unchecked 32 bit quantity,
not 'K'.
Diffstat (limited to 'Python/mactoolboxglue.c')
-rw-r--r-- | Python/mactoolboxglue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c index 2b32008..a939ee5 100644 --- a/Python/mactoolboxglue.c +++ b/Python/mactoolboxglue.c @@ -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); } |