summaryrefslogtreecommitdiff
path: root/src/modinfodialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modinfodialog.cpp')
-rw-r--r--src/modinfodialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinfodialog.cpp b/src/modinfodialog.cpp
index 12654755..fedddd6c 100644
--- a/src/modinfodialog.cpp
+++ b/src/modinfodialog.cpp
@@ -1080,7 +1080,7 @@ void ModInfoDialog::openFile(const QModelIndex &index)
QString fileName = m_FileSystemModel->filePath(index);
HINSTANCE res = ::ShellExecuteW(nullptr, L"open", ToWString(fileName).c_str(), nullptr, nullptr, SW_SHOW);
- if ((int)res <= 32) {
+ if ((unsigned long long)res <= 32) {
qCritical("failed to invoke %s: %d", fileName.toUtf8().constData(), res);
}
}