From ac2ac8cb4ba467a6ffb658329c2603ea497d9912 Mon Sep 17 00:00:00 2001 From: Don HO Date: Fri, 18 Jan 2019 00:34:40 +0100 Subject: [PATCH] Fix x64 build error --- PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp b/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp index d1159f7d..6ef022da 100644 --- a/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp +++ b/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp @@ -610,7 +610,7 @@ void PluginViewList::pushBack(PluginUpdateInfo* pi) // add in order size_t i = _ui.findAlphabeticalOrderPos(pi->_displayName, _sortType == DISPLAY_NAME_ALPHABET_ENCREASE ? _ui.sortEncrease : _ui.sortDecrease); - _ui.addLine(values2Add, reinterpret_cast(pi), i); + _ui.addLine(values2Add, reinterpret_cast(pi), static_cast(i)); } bool loadFromJson(PluginViewList & pl, const json& j)