forked from teamnwah/openmw-tes3coop
Explicitely cast a size_t to int
This commit is contained in:
parent
446c714727
commit
5952498e9e
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ namespace MWGui
|
|||
|
||||
void DialogueWindow::onScrollbarMoved(MyGUI::ScrollBar *sender, size_t pos)
|
||||
{
|
||||
mHistory->setPosition(0, pos * -1);
|
||||
mHistory->setPosition(0, static_cast<int>(pos) * -1);
|
||||
}
|
||||
|
||||
void DialogueWindow::addResponse(const std::string &text, const std::string &title)
|
||||
|
|
Loading…
Reference in a new issue