diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-02-17 15:01:21 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-02-17 15:01:21 +0100 |
commit | e8748bc1d70c1c755240327c3c8ee2949d55045f (patch) | |
tree | 5a43dfa32d8fd65afe1988fe9cf507434a1b1b2f /docs/examples | |
parent | e624714cad2a9f32e06f581feeea87b3825271d0 (diff) |
10-at-a-time: typecast the argument passed to sleep()
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/10-at-a-time.c | 2 |
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 { |