mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-04 11:13:07 +00:00
Replace C-style cast with C++ cast.
This commit is contained in:
parent
a296fa2b40
commit
b8381f6e62
1 changed files with 1 additions and 1 deletions
|
|
@ -913,7 +913,7 @@ namespace
|
|||
{
|
||||
// Scroll through the list of quests or topics
|
||||
if (mOptionsMode && (mQuestMode || mTopicsMode))
|
||||
setControllerFocusedQuest(std::max(int(mSelectedQuest) - 5, 0));
|
||||
setControllerFocusedQuest(std::max(static_cast<int>(mSelectedQuest) - 5, 0));
|
||||
// Page through the journal
|
||||
else if (!mOptionsMode)
|
||||
notifyPrevPage(getWidget<MyGUI::Widget>(PrevPageBTN));
|
||||
|
|
|
|||
Loading…
Reference in a new issue