From 833ddc6e8d12a3591d1b25093e5d2977c815c246 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 7 Dec 2018 16:21:10 -0800 Subject: [PATCH] Silence enum type warning in 10.9. --- gdk/quartz/gdkwindow-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c index 9bb10bd20a..200c7018a9 100644 --- a/gdk/quartz/gdkwindow-quartz.c +++ b/gdk/quartz/gdkwindow-quartz.c @@ -3103,7 +3103,7 @@ gdk_root_window_impl_quartz_get_context (GdkWindowImplQuartz *window, colorspace = CGColorSpaceCreateWithName (kCGColorSpaceGenericRGB); cg_context = CGBitmapContextCreate (NULL, 1, 1, 8, 4, colorspace, - kCGImageAlphaPremultipliedLast); + (CGBitmapInfo)kCGImageAlphaPremultipliedLast); CGColorSpaceRelease (colorspace); return cg_context;