summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_avatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/svc_avatar.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_avatar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/svc_avatar.cpp b/plugins/UserInfoEx/src/svc_avatar.cpp
index e8f80dd237..1f1f771d93 100644
--- a/plugins/UserInfoEx/src/svc_avatar.cpp
+++ b/plugins/UserInfoEx/src/svc_avatar.cpp
@@ -93,7 +93,7 @@ namespace NServices
return 0;
}
- void Enable(BYTE bEnable)
+ void Enable(uint8_t bEnable)
{
DBVARIANT dbv;
@@ -103,7 +103,7 @@ namespace NServices
for (auto &hContact : Contacts()) {
// don't set if avatar is locked!
if (!db_get_b(hContact, "ContactPhoto", "Locked", 0)) {
- BYTE bInvalidAvatar = TRUE;
+ uint8_t bInvalidAvatar = TRUE;
// the relative file is valid
if (!DB::Setting::GetAString(hContact, "ContactPhoto", "RFile", &dbv)) {