summaryrefslogtreecommitdiff
path: root/src/gui_mac.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-24 21:56:24 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-24 21:56:24 +0000
commit446cb837a017fc1c1b144cb5c2a35cb90abfbbcf (patch)
tree6c1fe56f2db8d4adbeee792b181b0659c4d1f216 /src/gui_mac.c
parent3577c6fafb77da5419cd1001dac56f204d480bdc (diff)
downloadvim-git-446cb837a017fc1c1b144cb5c2a35cb90abfbbcf.tar.gz
updated for version 7.2a
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r--src/gui_mac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c
index b3c6f1f54..1ef582053 100644
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -484,7 +484,7 @@ menu_title_removing_mnemonic(vimmenu_T *menu)
CFMutableStringRef cleanedName;
menuTitleLen = STRLEN(menu->dname);
- name = mac_enc_to_cfstring(menu->dname, menuTitleLen);
+ name = (CFStringRef) mac_enc_to_cfstring(menu->dname, menuTitleLen);
if (name)
{
@@ -6073,7 +6073,7 @@ gui_mch_settitle(char_u *title, char_u *icon)
#ifdef MACOS_CONVERT
windowTitleLen = STRLEN(title);
- windowTitle = mac_enc_to_cfstring(title, windowTitleLen);
+ windowTitle = (CFStringRef)mac_enc_to_cfstring(title, windowTitleLen);
if (windowTitle)
{
@@ -6520,7 +6520,7 @@ getTabLabel(tabpage_T *page)
{
get_tabline_label(page, FALSE);
#ifdef MACOS_CONVERT
- return mac_enc_to_cfstring(NameBuff, STRLEN(NameBuff));
+ return (CFStringRef)mac_enc_to_cfstring(NameBuff, STRLEN(NameBuff));
#else
// TODO: check internal encoding?
return CFStringCreateWithCString(kCFAllocatorDefault, (char *)NameBuff,