From cc6272bd1577b277b41d8b431758475f55f3e361 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Tue, 15 Mar 2011 23:19:46 -0400 Subject: Fixes for 64 bit builds. --- MxWorldSettings.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MxWorldSettings.m') diff --git a/MxWorldSettings.m b/MxWorldSettings.m index 47b3817..ac23930 100644 --- a/MxWorldSettings.m +++ b/MxWorldSettings.m @@ -323,7 +323,7 @@ [self removeObjectForKey: @":TEXT-COLOR"]; else { NSColor *rgbColor; - float r, g, b, a; + CGFloat r, g, b, a; rgbColor = [aColor colorUsingColorSpaceName: NSCalibratedRGBColorSpace]; [rgbColor getRed: &r green: &g blue: &b alpha: &a]; @@ -354,7 +354,7 @@ [self removeObjectForKey: @":BACKGROUND-COLOR"]; else { NSColor *rgbColor; - float r, g, b, a; + CGFloat r, g, b, a; rgbColor = [aColor colorUsingColorSpaceName: NSCalibratedRGBColorSpace]; [rgbColor getRed: &r green: &g blue: &b alpha: &a]; -- cgit v1.2.3