summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-26 18:01:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-26 18:01:02 +0000
commit1a7374cd3d69075e354cbe28c51580458850d526 (patch)
treed9e6302572dfaa47053f8740575d5e98e7515e2d /protocols/Xfire/src
parent23a378d2ae8b2800a355e37f8bc612aeace26fc9 (diff)
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2506 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src')
-rw-r--r--protocols/Xfire/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index d3cd36e61e..5219183de2 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -1529,9 +1529,9 @@ INT_PTR GetCaps(WPARAM wParam,LPARAM lParam)
else if(wParam==PFLAGNUM_4)
return PF4_SUPPORTTYPING|PF4_AVATARS;
else if(wParam==PFLAG_UNIQUEIDTEXT)
- return (int) Translate("Username");
+ return (INT_PTR)Translate("Username");
else if(wParam==PFLAG_UNIQUEIDSETTING)
- return (int)"Username";
+ return (INT_PTR)"Username";
else if(wParam==PFLAG_MAXLENOFMESSAGE)
return 3996; //255;
return 0;