Explicitely cast a size_t to int

drop
scrawl 9 years ago
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…
Cancel
Save