Fix x64 build error

This commit is contained in:
Don HO 2019-01-18 00:34:40 +01:00
parent 5b1f530204
commit ac2ac8cb4b

View File

@ -610,7 +610,7 @@ void PluginViewList::pushBack(PluginUpdateInfo* pi)
// add in order // add in order
size_t i = _ui.findAlphabeticalOrderPos(pi->_displayName, _sortType == DISPLAY_NAME_ALPHABET_ENCREASE ? _ui.sortEncrease : _ui.sortDecrease); size_t i = _ui.findAlphabeticalOrderPos(pi->_displayName, _sortType == DISPLAY_NAME_ALPHABET_ENCREASE ? _ui.sortEncrease : _ui.sortDecrease);
_ui.addLine(values2Add, reinterpret_cast<LPARAM>(pi), i); _ui.addLine(values2Add, reinterpret_cast<LPARAM>(pi), static_cast<int>(i));
} }
bool loadFromJson(PluginViewList & pl, const json& j) bool loadFromJson(PluginViewList & pl, const json& j)