Index: src/base/platform/platform-win32.cc |
diff --git a/src/base/platform/platform-win32.cc b/src/base/platform/platform-win32.cc |
index 397b7a9f71e7b4b4a57150c2bc2f1cc0ee709a07..afd3061aa79614705e9f592cbacc043febbe2944 100644 |
--- a/src/base/platform/platform-win32.cc |
+++ b/src/base/platform/platform-win32.cc |
@@ -812,8 +812,8 @@ void OS::Guard(void* address, const size_t size) { |
} |
-void OS::Sleep(int milliseconds) { |
- ::Sleep(milliseconds); |
+void OS::Sleep(TimeDelta interval) { |
+ ::Sleep(static_cast<DWORD>(interval.InMilliseconds())); |
} |