aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-28 15:26:59 +0200
committerDavid Robillard <d@drobilla.net>2019-07-28 19:06:39 +0200
commite1c3b14e51a9e0a390d3ce6dcba80e7ee0a9c02f (patch)
tree3418d716814af91c7c097dd50c6c375fab9b2081 /pugl
parente7236e4a5ff6e7d28792d6ab8bee43c2024a9a53 (diff)
downloadpugl-e1c3b14e51a9e0a390d3ce6dcba80e7ee0a9c02f.tar.gz
pugl-e1c3b14e51a9e0a390d3ce6dcba80e7ee0a9c02f.tar.bz2
pugl-e1c3b14e51a9e0a390d3ce6dcba80e7ee0a9c02f.zip
Mac: Fix warning
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);