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
This commit is contained in:
Stefan Csomor 2014-06-20 08:15:31 +00:00
parent 1a5b712103
commit a993ff5255

View File

@ -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;
}