diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-04-23 13:20:17 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-04-23 13:20:17 (GMT) |
commit | bbf4be2c2fee581606bb5fdeadefc8b104bc204f (patch) | |
tree | 58dc4955ccbfd2ac10d7e6d158e09a72105f7bcf /Mac/Python | |
parent | 301b5bea3f05ade07622eccb19f1fe9e3c18cb73 (diff) | |
download | cpython-bbf4be2c2fee581606bb5fdeadefc8b104bc204f.zip cpython-bbf4be2c2fee581606bb5fdeadefc8b104bc204f.tar.gz cpython-bbf4be2c2fee581606bb5fdeadefc8b104bc204f.tar.bz2 |
Incorrect argument for PyMacBuildwide()
Diffstat (limited to 'Mac/Python')
-rw-r--r-- | Mac/Python/macglue.c | 10 |
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); } |