1
0
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:
novist 2015-01-04 17:45:31 +02:00
parent 57ba0e191b
commit cfcf16252f

View File

@ -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;