summaryrefslogtreecommitdiff
path: root/src/core/stdautoaway
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
commitcddcd7483a7c472598af098e759e5d309024f606 (patch)
treeb0a227d6e087c41958cc84d27bc323353248aae5 /src/core/stdautoaway
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'src/core/stdautoaway')
-rw-r--r--src/core/stdautoaway/src/idle.cpp2
-rw-r--r--src/core/stdautoaway/src/stdafx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdautoaway/src/idle.cpp b/src/core/stdautoaway/src/idle.cpp
index ff793f4ede..94641ac40a 100644
--- a/src/core/stdautoaway/src/idle.cpp
+++ b/src/core/stdautoaway/src/idle.cpp
@@ -31,7 +31,7 @@ int IdleOptInit(WPARAM wParam, LPARAM);
static int IdleObject_IsUserIdle()
{
if (g_plugin.bIdleMethod) {
- DWORD dwTick = Miranda_GetIdle();
+ uint32_t dwTick = Miranda_GetIdle();
return GetTickCount() - dwTick > (g_plugin.iIdleTime1st * 60 * 1000);
}
diff --git a/src/core/stdautoaway/src/stdafx.h b/src/core/stdautoaway/src/stdafx.h
index 4471a6ddf2..b44077e280 100644
--- a/src/core/stdautoaway/src/stdafx.h
+++ b/src/core/stdautoaway/src/stdafx.h
@@ -80,7 +80,7 @@ struct CMPlugin : public PLUGIN<CMPlugin>
CMOption<uint8_t> bIdlePrivate, bIdleSoundsOff, bIdleOnTerminal, bIdleStatusLock;
CMOption<uint8_t> bAAEnable;
CMOption<uint16_t> bAAStatus;
- CMOption<DWORD> iIdleTime1st;
+ CMOption<uint32_t> iIdleTime1st;
};
void IdleObject_Destroy();