Fix large size_t being truncated to int

deque
scrawl 11 years ago
parent 8b33c087e0
commit 68afac6a19

@ -117,7 +117,7 @@ namespace MWGui
std::string directory =
Misc::StringUtils::lowerCase (Settings::Manager::getString ("character", "Saves"));
int selectedIndex = MyGUI::ITEM_NONE;
size_t selectedIndex = MyGUI::ITEM_NONE;
for (MWBase::StateManager::CharacterIterator it = mgr->characterBegin(); it != mgr->characterEnd(); ++it)
{

Loading…
Cancel
Save