mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 10:21:09 +00:00
Explicitely cast a size_t to int
This commit is contained in:
parent
446c714727
commit
5952498e9e
@ -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…
x
Reference in New Issue
Block a user