From 97ea8510975eefc2f6220ca11e9d6c0f3ea33e14 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 16 Feb 2020 00:14:02 +0900 Subject: [PATCH] Qt: Narrowing warning fix --- src/duckstation-qt/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"),