From 673e142e00903a52f3e48d4e94e21b6240180782 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Sun, 22 Jan 1995 16:52:02 +0000 Subject: [PATCH] Ported to CW5/new universal headers --- Mac/Modules/macosmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c index 215fd72d961..7d9c7d16418 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); }