summaryrefslogtreecommitdiffstats
path: root/Python/mactoolboxglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/mactoolboxglue.c')
-rw-r--r--Python/mactoolboxglue.c2
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;