diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 06:05:10 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 06:05:10 +0000 |
commit | cb56b3c8913ff8ea50a92a6b74e0342d6377a235 (patch) | |
tree | 46917aee0afa576f7c4d59cf2f2d81b91ea7fcb7 /protocols/MRA/src/MraProto.cpp | |
parent | 4ff8d3eec99ed79dcc18ea7cc7df74fca70d54cf (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.cpp | 2 |
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) {
|