diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-11-30 00:53:10 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-11-30 00:53:10 +0000 |
commit | ce2af47d41cc790df1b18d9e80295a38747de19f (patch) | |
tree | b9e75709ec7e75dada1c77a3ea70f1304091cae9 /protocols/Xfire | |
parent | a5574d24bc8c0e94c8880c75f0fd27d08d30b98b (diff) |
code cleanup, x64 fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11163 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire')
-rw-r--r-- | protocols/Xfire/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp index d89f87e923..df4a9686e3 100644 --- a/protocols/Xfire/src/main.cpp +++ b/protocols/Xfire/src/main.cpp @@ -1285,12 +1285,12 @@ INT_PTR GetXStatusIcon(WPARAM wParam, LPARAM lParam) { if (lParam == LR_SHARED)
{
if (wParam > 1)
- return (int)xgamelist.iconmngr.getGameIconFromId(wParam - 2); //icocache[(int)wParam-2].hicon;
+ return (INT_PTR)xgamelist.iconmngr.getGameIconFromId(wParam - 2); //icocache[(int)wParam-2].hicon;
}
else
{
if (wParam > 1)
- return (int)CopyIcon((HICON)xgamelist.iconmngr.getGameIconFromId(wParam - 2)/*icocache[(int)wParam-2].hicon*/);
+ return (INT_PTR)CopyIcon((HICON)xgamelist.iconmngr.getGameIconFromId(wParam - 2)/*icocache[(int)wParam-2].hicon*/);
}
return 0;
@@ -1421,8 +1421,8 @@ INT_PTR TMLoadIcon(WPARAM wParam, LPARAM lParam) {
if (LOWORD(wParam) == PLI_PROTOCOL) {
if (wParam & PLIF_ICOLIB)
- return (int)Skin_GetIcon("XFIRE_main");
- return (int)CopyIcon(Skin_GetIcon("XFIRE_main"));
+ return (INT_PTR)Skin_GetIcon("XFIRE_main");
+ return (INT_PTR)CopyIcon(Skin_GetIcon("XFIRE_main"));
}
return NULL;
}
|