diff options
author | David Robillard <d@drobilla.net> | 2019-07-28 15:26:59 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 19:06:39 +0200 |
commit | e1c3b14e51a9e0a390d3ce6dcba80e7ee0a9c02f (patch) | |
tree | 3418d716814af91c7c097dd50c6c375fab9b2081 | |
parent | e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53 (diff) |
Mac: Fix warning
-rw-r--r-- | pugl/pugl_osx.m | 3 |
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); |