summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraProto.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 06:05:10 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 06:05:10 +0000
commitcb56b3c8913ff8ea50a92a6b74e0342d6377a235 (patch)
tree46917aee0afa576f7c4d59cf2f2d81b91ea7fcb7 /protocols/MRA/src/MraProto.cpp
parent4ff8d3eec99ed79dcc18ea7cc7df74fca70d54cf (diff)
MRA: some warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11394 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraProto.cpp')
-rw-r--r--protocols/MRA/src/MraProto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp
index 97324fdd53..9bc974b01a 100644
--- a/protocols/MRA/src/MraProto.cpp
+++ b/protocols/MRA/src/MraProto.cpp
@@ -456,7 +456,7 @@ int CMraProto::SetApparentMode(MCONTACT hContact, int mode)
// Only 3 modes are supported
if (hContact && (mode == 0 || mode == ID_STATUS_ONLINE || mode == ID_STATUS_OFFLINE)) {
- DWORD dwOldMode = getWord(hContact, "ApparentMode", 0);
+ int dwOldMode = (int)getDword(hContact, "ApparentMode", 0);
// Dont send redundant updates
if (mode != dwOldMode) {