From 56cfe30444ead1fb844ed5d5036ee91f49501331 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 4 Mar 2016 17:55:53 +0000 Subject: end of perversion with short ints (fixes #1204) git-svn-id: http://svn.miranda-ng.org/main/trunk@16425 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_util.cpp') diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index 8380a7a7c2..3b7ab9152f 100644 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -396,7 +396,7 @@ void CJabberProto::SendPresenceTo(int status, const TCHAR* to, HXML extra, const if (!m_bJabberOnline) return; // Send update for status (we won't handle ID_STATUS_OFFLINE here) - short iPriority = (short)getWord("Priority", 0); + int iPriority = getDword("Priority", 0); UpdatePriorityMenu(iPriority); TCHAR szPriority[40]; -- cgit v1.2.3