summaryrefslogtreecommitdiffstats
path: root/Python/mactoolboxglue.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-04-17 20:40:07 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-04-17 20:40:07 (GMT)
commitecc6635ae444440049172829a4f7590acf58725a (patch)
tree1e6924447082357b93634bf362c1d7fa804edaa2 /Python/mactoolboxglue.c
parent269b2a6797a11958929a5c1102dd1dd67d29e411 (diff)
downloadcpython-ecc6635ae444440049172829a4f7590acf58725a.zip
cpython-ecc6635ae444440049172829a4f7590acf58725a.tar.gz
cpython-ecc6635ae444440049172829a4f7590acf58725a.tar.bz2
Converted manually written code to the new K format specifier.
Untested, but at least it still compiles.
Diffstat (limited to 'Python/mactoolboxglue.c')
-rw-r--r--Python/mactoolboxglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c
index 25b6514..2b32008 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, "(Hll(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, "(ll)", &rv->hi, &rv->lo);
+ return PyArg_Parse(v, "(KK)", &rv->hi, &rv->lo);
}