https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fcb9378e01c555975433c…
commit fcb9378e01c555975433c8bd4239da8e8e1c87a4
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Fri Aug 16 16:29:20 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Fri Aug 16 16:29:20 2019 +0200
[W32TIME] The interval is specified in seconds, but we need milliseconds
---
base/services/w32time/w32time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/services/w32time/w32time.c b/base/services/w32time/w32time.c
index 590396fc771..abc58a5e151 100644
--- a/base/services/w32time/w32time.c
+++ b/base/services/w32time/w32time.c
@@ -297,7 +297,7 @@ ServiceMain(DWORD argc, LPWSTR *argv)
*/
}
- if (WaitForSingleObject(hStopEvent, dwInterval) == WAIT_OBJECT_0)
+ if (WaitForSingleObject(hStopEvent, dwInterval * 1000) == WAIT_OBJECT_0)
{
CloseHandle(hStopEvent);
hStopEvent = NULL;