Qt: Narrowing warning fix

This commit is contained in:
Connor McLaughlin 2020-02-16 00:14:02 +09:00
parent 7290e5cad0
commit 97ea851097
1 changed files with 1 additions and 1 deletions

View File

@ -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<int>(std::strlen(url)))));
if (!QDesktopServices::openUrl(qurl))
{
QMessageBox::critical(parent, QObject::tr("Failed to open URL"),