summaryrefslogtreecommitdiff
path: root/src/executableslist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/executableslist.cpp')
-rw-r--r--src/executableslist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/executableslist.cpp b/src/executableslist.cpp
index cc942012..a526a9b7 100644
--- a/src/executableslist.cpp
+++ b/src/executableslist.cpp
@@ -196,7 +196,7 @@ void ExecutablesList::addExecutable(const QString &title, const QString &executa
newExe.m_SteamAppID = steamAppID;
newExe.m_Custom = true;
newExe.m_Toolbar = toolbar;
- if ((pos < 0) || (pos >= m_Executables.size())) {
+ if ((pos < 0) || (pos >= static_cast<int>(m_Executables.size()))) {
m_Executables.push_back(newExe);
} else {
m_Executables.insert(m_Executables.begin() + pos, newExe);