fix warning (int used as pointer)

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
This commit is contained in:
Steffen Prohaska
2007-11-03 18:32:18 +01:00
parent 0f2bc7c7d2
commit e176f0fb15

View File

@@ -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