mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
parent
1753de9d7a
commit
0417d323c9
52 changed files with 490 additions and 543 deletions
|
|
@ -51,8 +51,8 @@ int getfiletime(const char *filename, curl_off_t *stamp)
|
|||
if(hfile != INVALID_HANDLE_VALUE) {
|
||||
FILETIME ft;
|
||||
if(GetFileTime(hfile, NULL, NULL, &ft)) {
|
||||
curl_off_t converted = (curl_off_t)ft.dwLowDateTime
|
||||
| ((curl_off_t)ft.dwHighDateTime) << 32;
|
||||
curl_off_t converted = (curl_off_t)ft.dwLowDateTime |
|
||||
((curl_off_t)ft.dwHighDateTime) << 32;
|
||||
|
||||
if(converted < 116444736000000000)
|
||||
warnf("Failed to get filetime: underflow");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue