summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-12 16:50:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-12 16:50:26 +0300
commit3a9e5e8049dda17a8e5c7b70bfed411760f424be (patch)
tree3bf00f5fe3a0fd3d593f3e8d777834861cbcb3a0
parent858af271c0175cce3aad327c8092f6bcd69c89b4 (diff)
compilation fix
-rw-r--r--include/newpluginapi.h2
1 files changed, 1 insertions, 1 deletions
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);