From: Daniel Stenberg Date: Wed, 17 Feb 2016 14:01:21 +0000 (+0100) Subject: 10-at-a-time: typecast the argument passed to sleep() X-Git-Tag: curl-7_48_0~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8748bc1d70c1c755240327c3c8ee2949d55045f;p=curl 10-at-a-time: typecast the argument passed to sleep() --- 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 {