From 724d0a08024d787c5a03472b68ba54fd1bd8caee Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Tue, 29 Sep 2009 23:31:32 +0200 Subject: [PATCH] Fix 64 bit compilation warnings in backend --- src/MacVim/MMBackend.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MacVim/MMBackend.m b/src/MacVim/MMBackend.m index 44ecf11c..cbf609ae 100644 --- a/src/MacVim/MMBackend.m +++ b/src/MacVim/MMBackend.m @@ -1055,7 +1055,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font); if (obj) { NSColor *col = [NSColor performSelector:NSSelectorFromString(obj)]; if (col) { - float r, g, b, a; + CGFloat r, g, b, a; col = [col colorUsingColorSpaceName:NSCalibratedRGBColorSpace]; [col getRed:&r green:&g blue:&b alpha:&a]; return (((int)(r*255+.5f) & 0xff) << 16) @@ -1509,7 +1509,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font); ASLogNotice(@"addReply:server: failed: reason=%@", ex); } } else { - EMSG2(_("E???: server2client failed; no client with id 0x%x"), port); + ASLogNotice(@"server2client failed; no client with id %d", port); } return NO; -- 2.11.4.GIT