X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/a2d98946738ffd42f90b3f54d2a32be9d7b6429e..c0342369acfbad2f0ea86b949a2f116304186353:/src/nsimage.m diff --git a/src/nsimage.m b/src/nsimage.m index 9d21ba8afc..a1703272ad 100644 --- a/src/nsimage.m +++ b/src/nsimage.m @@ -334,7 +334,7 @@ static EmacsImage *ImageList = nil; { NSSize s = [self size]; unsigned char *planes[5]; - CGFloat r, g, b, a; + EmacsCGFloat r, g, b, a; NSColor *rgbColor; if (bmRep == nil || color == nil) @@ -437,7 +437,7 @@ static EmacsImage *ImageList = nil; else { NSColor *color = [bmRep colorAtX: x y: y]; - CGFloat r, g, b, a; + EmacsCGFloat r, g, b, a; [color getRed: &r green: &g blue: &b alpha: &a]; return ((int)(a * 255.0) << 24) | ((int)(r * 255.0) << 16) | ((int)(g * 255.0) << 8)