aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'pugl')
-rw-r--r--pugl/pugl_osx.m3
1 files changed, 2 insertions, 1 deletions
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);