mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
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)
|
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)
|
void DialogueWindow::addResponse(const std::string &text, const std::string &title)
|
||||||
|
|
Loading…
Reference in a new issue