Skip to content

Commit b92c85e

Browse files
committed
Add missing const qualifier
1 parent 620310a commit b92c85e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/SystemBrowser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void SystemBrowser::OpenURL(const std::string& url)
2222
handle.wait();
2323
#endif
2424
#ifdef __APPLE__
25-
CFURLRef urlRef = CFURLCreateWithBytes(nullptr, reinterpret_cast<UInt8*>(url.c_str()), url.length(), kCFStringEncodingASCII, nullptr);
25+
CFURLRef urlRef = CFURLCreateWithBytes(nullptr, reinterpret_cast<const UInt8*>(url.c_str()), url.length(), kCFStringEncodingASCII, nullptr);
2626
LSOpenCFURLRef(urlRef, 0);
2727
CFRelease(urlRef);
2828
#endif

0 commit comments

Comments
 (0)