From 3a9e5e8049dda17a8e5c7b70bfed411760f424be Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 12 Apr 2019 16:50:26 +0300 Subject: compilation fix --- include/newpluginapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/newpluginapi.h b/include/newpluginapi.h index 30f7abff60..6be344e66c 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -175,7 +175,7 @@ public: void debugLogA(LPCSTR szFormat, ...); void debugLogW(LPCWSTR wszFormat, ...); - __forceinline void addIcolib(HANDLE hIcolib) { m_arIcons.insert(hIcolib); } + __forceinline void addIcolib(HANDLE hIcolib) { m_arIcons.insert((IcolibItem*)hIcolib); } HICON getIcon(int iconId, bool big = false); HANDLE getIconHandle(int iconId); void releaseIcon(int iconId, bool big = false); -- cgit v1.2.3