diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-01-22 16:52:02 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-01-22 16:52:02 (GMT) |
commit | 673e142e00903a52f3e48d4e94e21b6240180782 (patch) | |
tree | e2894f03feadb525bd27683b7c26cb0d10ec0d69 /Mac | |
parent | a1c5602a7adbdba611b9d7b3fb7201ab61a606b0 (diff) | |
download | cpython-673e142e00903a52f3e48d4e94e21b6240180782.zip cpython-673e142e00903a52f3e48d4e94e21b6240180782.tar.gz cpython-673e142e00903a52f3e48d4e94e21b6240180782.tar.bz2 |
Ported to CW5/new universal headers
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Modules/macosmodule.c | 4 |
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); } |