From e1c3b14e51a9e0a390d3ce6dcba80e7ee0a9c02f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 28 Jul 2019 15:26:59 +0200 Subject: Mac: Fix warning --- pugl/pugl_osx.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pugl') diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m index 3112a23..c5a94f8 100644 --- a/pugl/pugl_osx.m +++ b/pugl/pugl_osx.m @@ -945,7 +945,8 @@ puglGetProcAddress(const char *name) CFStringRef symbol = CFStringCreateWithCString( kCFAllocatorDefault, name, kCFStringEncodingASCII); - PuglGlFunc func = CFBundleGetFunctionPointerForName(framework, symbol); + PuglGlFunc func = (PuglGlFunc)CFBundleGetFunctionPointerForName( + framework, symbol); CFRelease(symbol); -- cgit v1.2.1