mirror of
https://github.com/curl/curl.git
synced 2026-07-28 21:23:06 +03:00
fixup typecast
This commit is contained in:
parent
509a01b1a9
commit
68ac663211
1 changed files with 1 additions and 1 deletions
|
|
@ -573,7 +573,7 @@ static const char *outtime(const char *ptr, /* %time{ ... */
|
|||
curl_off_t val;
|
||||
curlx_str_number(×tr, &val, TIME_T_MAX);
|
||||
cnow.tv_sec = (time_t)val;
|
||||
cnow.tv_usec = val % 1000000;
|
||||
cnow.tv_usec = (unsigned int)(val % 1000000);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue