From 1a7374cd3d69075e354cbe28c51580458850d526 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Nov 2012 18:01:02 +0000 Subject: crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2506 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Xfire/src/main.cpp') 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; -- cgit v1.2.3