summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macosmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-01-22 16:52:02 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-01-22 16:52:02 (GMT)
commit673e142e00903a52f3e48d4e94e21b6240180782 (patch)
treee2894f03feadb525bd27683b7c26cb0d10ec0d69 /Mac/Modules/macosmodule.c
parenta1c5602a7adbdba611b9d7b3fb7201ab61a606b0 (diff)
downloadcpython-673e142e00903a52f3e48d4e94e21b6240180782.zip
cpython-673e142e00903a52f3e48d4e94e21b6240180782.tar.gz
cpython-673e142e00903a52f3e48d4e94e21b6240180782.tar.bz2
Ported to CW5/new universal headers
Diffstat (limited to 'Mac/Modules/macosmodule.c')
-rw-r--r--Mac/Modules/macosmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index 215fd72..7d9c7d1 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -317,7 +317,7 @@ SndCh_SndPlay(SndChObject *s, PyObject *args)
return NULL;
if (!SndCh_OK(s))
return NULL;
- SndPlay(s->chan, r->h, async);
+ SndPlay(s->chan, (SndListHandle)r->h, async);
Py_INCREF(Py_None);
return Py_None;
}
@@ -475,7 +475,7 @@ MacOS_SndPlay(PyObject *self, PyObject *args)
OSErr err;
if (!PyArg_ParseTuple(args, "O!", &RsrcType, &r))
return NULL;
- err = SndPlay((SndChannelPtr)NULL, r->h, 0);
+ err = SndPlay((SndChannelPtr)NULL, (SndListHandle)r->h, 0);
return PyErr_Mac(MacOS_Error, (int)err);
}