diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-23 21:03:36 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-23 21:03:36 (GMT) |
commit | 0a116f3a2901b040faa356ffc3dbb91a7f00d215 (patch) | |
tree | e40ba85845e717a5314e54c0406a90c1b585111d /Python/mactoolboxglue.c | |
parent | 446f32367b4900b8cbbeb155c5553d8277fa56cf (diff) | |
download | cpython-0a116f3a2901b040faa356ffc3dbb91a7f00d215.zip cpython-0a116f3a2901b040faa356ffc3dbb91a7f00d215.tar.gz cpython-0a116f3a2901b040faa356ffc3dbb91a7f00d215.tar.bz2 |
Squashed compiler warnings by adding casts, making sure prototypes are in
scope and looking at types.
Diffstat (limited to 'Python/mactoolboxglue.c')
-rw-r--r-- | Python/mactoolboxglue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c index 6d39d57..3dfd699 100644 --- a/Python/mactoolboxglue.c +++ b/Python/mactoolboxglue.c @@ -53,7 +53,7 @@ char *PyMac_getscript() /* This leaks a an object. */ name = CFStringConvertEncodingToIANACharSetName(enc); } - return CFStringGetCStringPtr(name, 0); + return (char *)CFStringGetCStringPtr(name, 0); #else int font, script, lang; font = 0; |