From cddcd7483a7c472598af098e759e5d309024f606 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 20:31:39 +0300 Subject: DWORD -> uint32_t --- plugins/AvatarHistory/src/AvatarHistory.cpp | 6 +++--- plugins/AvatarHistory/src/stdafx.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/AvatarHistory/src') diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index 6441f989f9..747f697cde 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -23,7 +23,7 @@ Avatar History Plugin */ #include "stdafx.h" -DWORD mirVer; +uint32_t mirVer; HANDLE hFolder = nullptr; @@ -206,9 +206,9 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam) DBEVENTINFO dbei = {}; dbei.szModule = Proto_GetBaseAccountName(hContact); dbei.flags = DBEF_READ | DBEF_UTF; - dbei.timestamp = (DWORD)time(0); + dbei.timestamp = (uint32_t)time(0); dbei.eventType = EVENTTYPE_AVATAR_CHANGE; - dbei.cbBlob = (DWORD)mir_strlen(blob) + 1; + dbei.cbBlob = (uint32_t)mir_strlen(blob) + 1; dbei.pBlob = blob; db_event_add(hContact, &dbei); } diff --git a/plugins/AvatarHistory/src/stdafx.h b/plugins/AvatarHistory/src/stdafx.h index 69cdfc1246..7975539af3 100644 --- a/plugins/AvatarHistory/src/stdafx.h +++ b/plugins/AvatarHistory/src/stdafx.h @@ -33,7 +33,7 @@ // Globals extern HGENMENU hMenu; -extern DWORD mirVer; +extern uint32_t mirVer; extern MWindowList hAvatarWindowsList; extern Options opts; extern HANDLE hFolder; -- cgit v1.2.3