diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index a54f33940..3fa9beef5 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -176,7 +176,7 @@ void MainWindow::onStartBiosActionTriggered() static void OpenURL(QWidget* parent, const char* url) { - const QUrl qurl(QUrl::fromEncoded(QByteArray(url, std::strlen(url)))); + const QUrl qurl(QUrl::fromEncoded(QByteArray(url, static_cast(std::strlen(url))))); if (!QDesktopServices::openUrl(qurl)) { QMessageBox::critical(parent, QObject::tr("Failed to open URL"),