summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 1fafd4c1..fe720a0c 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1184,7 +1184,7 @@ QStringList OrganizerCore::modsSortedByProfilePriority() const
{
QStringList res;
for (int i = currentProfile()->getPriorityMinimum();
- i < currentProfile()->getPriorityMinimum() + currentProfile()->numRegularMods();
+ i < currentProfile()->getPriorityMinimum() + (int)currentProfile()->numRegularMods();
++i) {
int modIndex = currentProfile()->modIndexByPriority(i);
res.push_back(ModInfo::getByIndex(modIndex)->name());