mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:33:36 +03:00
parent
0eed8b7330
commit
2253bc330f
64 changed files with 1218 additions and 1416 deletions
|
|
@ -74,7 +74,7 @@ int curlx_wait_ms(timediff_t timeout_ms)
|
|||
/* prevent overflow, timeout_ms is typecast to ULONG/DWORD. */
|
||||
#if TIMEDIFF_T_MAX >= ULONG_MAX
|
||||
if(timeout_ms >= ULONG_MAX)
|
||||
timeout_ms = ULONG_MAX-1;
|
||||
timeout_ms = ULONG_MAX - 1;
|
||||
/* do not use ULONG_MAX, because that is equal to INFINITE */
|
||||
#endif
|
||||
Sleep((DWORD)timeout_ms);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue