diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
commit | cddcd7483a7c472598af098e759e5d309024f606 (patch) | |
tree | b0a227d6e087c41958cc84d27bc323353248aae5 /protocols/Omegle/src/chat.cpp | |
parent | 1039b2829a264280493ba0fa979214fe024dc70c (diff) |
DWORD -> uint32_t
Diffstat (limited to 'protocols/Omegle/src/chat.cpp')
-rw-r--r-- | protocols/Omegle/src/chat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Omegle/src/chat.cpp b/protocols/Omegle/src/chat.cpp index a1a43f94ad..1653156e1f 100644 --- a/protocols/Omegle/src/chat.cpp +++ b/protocols/Omegle/src/chat.cpp @@ -206,7 +206,7 @@ void OmegleProto::AddChatContact(const wchar_t *name) {
GCEVENT gce = { m_szModuleName, 0, GC_EVENT_JOIN };
gce.pszID.w = m_tszUserName;
- gce.time = DWORD(time(0));
+ gce.time = uint32_t(time(0));
gce.dwFlags = GCEF_ADDTOLOG;
gce.pszNick.w = name;
gce.pszUID.w = gce.pszNick.w;
@@ -231,7 +231,7 @@ void OmegleProto::DeleteChatContact(const wchar_t *name) gce.dwFlags = GCEF_ADDTOLOG;
gce.pszNick.w = name;
gce.pszUID.w = gce.pszNick.w;
- gce.time = DWORD(time(0));
+ gce.time = uint32_t(time(0));
if (name == nullptr)
gce.bIsMe = false;
else
|