summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/crypt_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/crypt_check.cpp')
-rw-r--r--plugins/SecureIM/src/crypt_check.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/crypt_check.cpp b/plugins/SecureIM/src/crypt_check.cpp
index 1cf85abbff..802b82c32e 100644
--- a/plugins/SecureIM/src/crypt_check.cpp
+++ b/plugins/SecureIM/src/crypt_check.cpp
@@ -18,7 +18,7 @@ bool isSecureProtocol(MCONTACT hContact)
return ptr->inspecting != 0;
}
-BYTE isContactSecured(MCONTACT hContact)
+uint8_t isContactSecured(MCONTACT hContact)
{
// нужна проверка на Offline и в этом случае другие статусы
if (!arClist.getCount()) return 0;
@@ -30,7 +30,7 @@ BYTE isContactSecured(MCONTACT hContact)
if (!p || !p->proto || !p->proto->inspecting)
return false;
- BYTE res = p->mode;
+ uint8_t res = p->mode;
DBVARIANT dbv;
switch (p->mode) {
case MODE_NATIVE: