diff --git a/src/MacVim/MMBackend.m b/src/MacVim/MMBackend.m index 0c46168495..733f32e5b9 100644 --- a/src/MacVim/MMBackend.m +++ b/src/MacVim/MMBackend.m @@ -1689,12 +1689,12 @@ extern GuiFont gui_mch_retain_font(GuiFont font); { MMChannel *mmChannel = [[MMChannel alloc] initWithChannel:channel part:part]; - return (__bridge void *)mmChannel; + return (void *)mmChannel; } - (void)removeChannel:(void *)cookie { - MMChannel *mmChannel = (__bridge MMChannel *)cookie; + MMChannel *mmChannel = (MMChannel *)cookie; [mmChannel release]; } @@ -3428,7 +3428,7 @@ static void socketReadCallback(CFSocketRef s, const void *data, void *info) { - MMChannel *mmChannel = (__bridge MMChannel *)info; + MMChannel *mmChannel = (MMChannel *)info; [mmChannel read]; } @@ -3441,7 +3441,7 @@ static void socketReadCallback(CFSocketRef s, part = p; // Tell CFRunLoop that we are interested in channel socket input. - CFSocketContext ctx = {0, (__bridge void *)self, NULL, NULL, NULL}; + CFSocketContext ctx = {0, (void *)self, NULL, NULL, NULL}; socket = CFSocketCreateWithNative(kCFAllocatorDefault, channel->ch_part[part].ch_fd, kCFSocketReadCallBack,