Skip to content

Commit

Permalink
Add missing const qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
kblaschke committed Apr 8, 2024
1 parent 620310a commit b92c85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/SystemBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void SystemBrowser::OpenURL(const std::string& url)
handle.wait();
#endif
#ifdef __APPLE__
CFURLRef urlRef = CFURLCreateWithBytes(nullptr, reinterpret_cast<UInt8*>(url.c_str()), url.length(), kCFStringEncodingASCII, nullptr);
CFURLRef urlRef = CFURLCreateWithBytes(nullptr, reinterpret_cast<const UInt8*>(url.c_str()), url.length(), kCFStringEncodingASCII, nullptr);
LSOpenCFURLRef(urlRef, 0);
CFRelease(urlRef);
#endif
Expand Down

0 comments on commit b92c85e

Please sign in to comment.