From a993ff5255e10057a8eae41efd04c2594c7e05d1 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 20 Jun 2014 08:15:31 +0000 Subject: [PATCH] fixes 64 bit to 32 warnings, see #16329 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/glcanvas.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osx/cocoa/glcanvas.mm b/src/osx/cocoa/glcanvas.mm index 9f73bfec91..e51fd3438c 100644 --- a/src/osx/cocoa/glcanvas.mm +++ b/src/osx/cocoa/glcanvas.mm @@ -89,7 +89,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList) NSOpenGLPFAAlphaSize,(NSOpenGLPixelFormatAttribute)0, NSOpenGLPFADepthSize,(NSOpenGLPixelFormatAttribute)8, NSOpenGLPFAAccelerated, // use hardware accelerated context - (NSOpenGLPixelFormatAttribute)nil + 0 }; const NSOpenGLPixelFormatAttribute *attribs; @@ -216,7 +216,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList) } } - data[p] = (NSOpenGLPixelFormatAttribute)nil; + data[p] = 0; attribs = data; }