diff --git a/src/gui/SystemBrowser.cpp b/src/gui/SystemBrowser.cpp index dad759d..0d7d3c2 100644 --- a/src/gui/SystemBrowser.cpp +++ b/src/gui/SystemBrowser.cpp @@ -22,7 +22,7 @@ void SystemBrowser::OpenURL(const std::string& url) handle.wait(); #endif #ifdef __APPLE__ - CFURLRef urlRef = CFURLCreateWithBytes(nullptr, reinterpret_cast(url.c_str()), url.length(), kCFStringEncodingASCII, nullptr); + CFURLRef urlRef = CFURLCreateWithBytes(nullptr, reinterpret_cast(url.c_str()), url.length(), kCFStringEncodingASCII, nullptr); LSOpenCFURLRef(urlRef, 0); CFRelease(urlRef); #endif