mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-18 19:14:55 +00:00
Fix MSVC compilation warning
This commit is contained in:
parent
6e03b12f57
commit
fdc8a7dbea
@ -80,7 +80,7 @@ static int do_lstat(const char *file_name, struct stat *buf)
|
||||
buf->st_uid = 0;
|
||||
buf->st_nlink = 1;
|
||||
buf->st_mode = (mode_t)fMode;
|
||||
buf->st_size = (fdata.nFileSizeHigh << 32) + fdata.nFileSizeLow;
|
||||
buf->st_size = ((git_off_t)fdata.nFileSizeHigh << 32) + fdata.nFileSizeLow;
|
||||
buf->st_dev = buf->st_rdev = (_getdrive() - 1);
|
||||
buf->st_atime = filetime_to_time_t(&(fdata.ftLastAccessTime));
|
||||
buf->st_mtime = filetime_to_time_t(&(fdata.ftLastWriteTime));
|
||||
|
Loading…
Reference in New Issue
Block a user