aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/10-at-a-time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/10-at-a-time.c b/docs/examples/10-at-a-time.c
index 75f9d5c5b..aa1862ec5 100644
--- a/docs/examples/10-at-a-time.c
+++ b/docs/examples/10-at-a-time.c
@@ -155,7 +155,7 @@ int main(void)
#ifdef WIN32
Sleep(L);
#else
- sleep(L / 1000);
+ sleep((unsigned int)L / 1000);
#endif
}
else {