summaryrefslogtreecommitdiffhomepage
path: root/compat/sleep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/sleep.cpp')
-rw-r--r--compat/sleep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/sleep.cpp b/compat/sleep.cpp
index 5178ae2f..e64e6254 100644
--- a/compat/sleep.cpp
+++ b/compat/sleep.cpp
@@ -14,7 +14,7 @@ namespace portable
{
#ifdef _WIN32
- Sleep(milliseconds);
+ Sleep((unsigned)milliseconds);
#else
usleep(unsigned(milliseconds) * 1000U); // takes microseconds
#endif