diff options
author | Guido van Rossum <guido@python.org> | 1995-02-19 23:32:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-02-19 23:32:59 (GMT) |
commit | 6fc5aecd5363b22247898e021611b42ceee2a633 (patch) | |
tree | edb980ad09d4204645b1b19e0de9d6db573a5ce8 /Mac/Modules/snd | |
parent | 9784295b157ac9db30d52708f67d115c397290ab (diff) | |
download | cpython-6fc5aecd5363b22247898e021611b42ceee2a633.zip cpython-6fc5aecd5363b22247898e021611b42ceee2a633.tar.gz cpython-6fc5aecd5363b22247898e021611b42ceee2a633.tar.bz2 |
ported back to Think C
Diffstat (limited to 'Mac/Modules/snd')
-rw-r--r-- | Mac/Modules/snd/Sndmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/snd/sndsupport.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/snd/Sndmodule.c b/Mac/Modules/snd/Sndmodule.c index 7836cf1..9f5c24d 100644 --- a/Mac/Modules/snd/Sndmodule.c +++ b/Mac/Modules/snd/Sndmodule.c @@ -36,7 +36,7 @@ extern PyObject *WinObj_WhichWindow(WindowPtr); #ifndef HAVE_UNIVERSAL_HEADERS #define SndCallBackUPP ProcPtr -#define NewSndCallBackProc(x) (x) +#define NewSndCallBackProc(x) ((SndCallBackProcPtr)(x)) #define SndListHandle Handle #endif diff --git a/Mac/Modules/snd/sndsupport.py b/Mac/Modules/snd/sndsupport.py index 2181cd1..fb561e8 100644 --- a/Mac/Modules/snd/sndsupport.py +++ b/Mac/Modules/snd/sndsupport.py @@ -21,7 +21,7 @@ includestuff = includestuff + """ #ifndef HAVE_UNIVERSAL_HEADERS #define SndCallBackUPP ProcPtr -#define NewSndCallBackProc(x) (x) +#define NewSndCallBackProc(x) ((SndCallBackProcPtr)(x)) #define SndListHandle Handle #endif """ |