mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
fix warning (int used as pointer)
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
This commit is contained in:
@@ -22,7 +22,7 @@ int git_utime (const char *file_name, const struct utimbuf *times)
|
||||
|
||||
time_t_to_filetime(times->modtime, &mft);
|
||||
time_t_to_filetime(times->actime, &aft);
|
||||
if (!SetFileTime(_get_osfhandle(fh), NULL, &aft, &mft)) {
|
||||
if (!SetFileTime((HANDLE)_get_osfhandle(fh), NULL, &aft, &mft)) {
|
||||
errno = EINVAL;
|
||||
rc = -1;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user