diff Python/mactoolboxglue.c @ 26764:6b31b26e418d legacy-trunk

Squashed compiler warnings by adding casts, making sure prototypes are in scope and looking at types.
author Jack Jansen <jack.jansen@cwi.nl>
date Mon, 23 Dec 2002 21:03:36 +0000
parents d58824ceb35d
children 04e5610c5efe
line wrap: on
line diff
--- a/Python/mactoolboxglue.c	Mon Dec 23 19:03:00 2002 +0000
+++ b/Python/mactoolboxglue.c	Mon Dec 23 21:03:36 2002 +0000
@@ -53,7 +53,7 @@
         /* This leaks a an object. */
         name = CFStringConvertEncodingToIANACharSetName(enc);
     }
-    return CFStringGetCStringPtr(name, 0); 
+    return (char *)CFStringGetCStringPtr(name, 0); 
 #else
    int font, script, lang;
     font = 0;