summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macglue.c')
-rw-r--r--Mac/Python/macglue.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index ac1bbbf..98517e1 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -1191,10 +1191,10 @@ PyMac_Getwide(PyObject *v, wide *rv)
PyObject *
-PyMac_Buildwide(wide w)
+PyMac_Buildwide(wide *w)
{
- if ( (w.hi == 0 && (w.lo & 0x80000000) == 0) ||
- (w.hi == -1 && (w.lo & 0x80000000) ) )
- return PyInt_FromLong(w.lo);
- return Py_BuildValue("(ll)", w.hi, w.lo);
+ if ( (w->hi == 0 && (w->lo & 0x80000000) == 0) ||
+ (w->hi == -1 && (w->lo & 0x80000000) ) )
+ return PyInt_FromLong(w->lo);
+ return Py_BuildValue("(ll)", w->hi, w->lo);
}