summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-01-11 13:50:51 +0100
committerAl <gabriel.cortesi@outlook.com>2019-01-11 13:56:58 +0100
commitcc7c3adcad973949ac976c3dc71bb8cf2677056c (patch)
treef12166e9194e59fbf25c43c83e62fcbd318a18da /src/settings.cpp
parent2d78ac26c85bd7432e3aa80b59adc71190f04929 (diff)
Fix or ignore a number of compiler warnings.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index f981f811..9267cccf 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -142,7 +142,7 @@ void Settings::registerAsNXMHandler(bool force)
}
parameters += L" \"" + executable + L"\"";
HINSTANCE res = ::ShellExecuteW(nullptr, L"open", nxmPath.c_str(), parameters.c_str(), nullptr, SW_SHOWNORMAL);
- if ((int)res <= 32) {
+ if ((INT_PTR)res <= 32) {
QMessageBox::critical(nullptr, tr("Failed"),
tr("Sorry, failed to start the helper application"));
}