summaryrefslogtreecommitdiffhomepage
path: root/compat/sleep.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-16 06:02:14 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:49:13 +0100
commit1e04979c3452d4eac633677876a88f9411a1153d (patch)
tree99a126a9d2647fd25a8ef2adbab6bb84f2c97dfb /compat/sleep.cpp
parent03d28dde1635e36508cff1f9eabc265cdb5febb9 (diff)
cruft only
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