diff options
Diffstat (limited to 'src/gui/questswindow.cpp')
-rw-r--r-- | src/gui/questswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/questswindow.cpp b/src/gui/questswindow.cpp index 66a7d50cf..c9e05cd14 100644 --- a/src/gui/questswindow.cpp +++ b/src/gui/questswindow.cpp @@ -331,9 +331,9 @@ void QuestsWindow::rebuild(const bool playSound) } if (updatedQuest == -1) - updatedQuest = mQuestLinks.size() - 1; + updatedQuest = static_cast<int>(mQuestLinks.size() - 1); else if (updatedQuest >= static_cast<int>(mQuestLinks.size())) - updatedQuest = mQuestLinks.size() - 1; + updatedQuest = static_cast<int>(mQuestLinks.size() - 1); if (updatedQuest >= 0) { mQuestsListBox->setSelected(updatedQuest); |