mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fixed warning in timer_win.cpp
This commit is contained in:
parent
57ba0e191b
commit
cfcf16252f
|
@ -22,7 +22,7 @@
|
|||
|
||||
uint32_t Platform::getIdleTime()
|
||||
{
|
||||
LASTINPUTINFO info = { 0 };
|
||||
LASTINPUTINFO info = { 0, 0 };
|
||||
info.cbSize = sizeof(info);
|
||||
if (GetLastInputInfo(&info))
|
||||
return GetTickCount() - info.dwTime;
|
||||
|
|
Loading…
Reference in New Issue
Block a user