diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-12 16:48:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-12 16:48:28 +0300 |
commit | 858af271c0175cce3aad327c8092f6bcd69c89b4 (patch) | |
tree | f9141bfae89e5b615cadbe5aaa2c8f5ba3b5eed1 /src | |
parent | 2a2ae7810fe1d5dcaa4e19d57b6010a4d84a338f (diff) |
major crutch for pascal plugins
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/CMPluginBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/CMPluginBase.cpp b/src/mir_app/src/CMPluginBase.cpp index 17b72e227f..ceb91f4f29 100644 --- a/src/mir_app/src/CMPluginBase.cpp +++ b/src/mir_app/src/CMPluginBase.cpp @@ -112,9 +112,9 @@ EXTERN_C MIR_APP_DLL(void) UnregisterPlugin(CMPluginBase *pPlugin) ///////////////////////////////////////////////////////////////////////////////////////// -static int CompareIcons(const void *p1, const void *p2) +static int CompareIcons(const IcolibItem *p1, const IcolibItem *p2) { - return ((IcolibItem*)p1)->default_indx - ((IcolibItem*)p2)->default_indx; + return p1->default_indx - p2->default_indx; } CMPluginBase::CMPluginBase(const char *moduleName, const PLUGININFOEX &pInfo) : |