Commit ae722227 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed copy/paste error in previous patch (spotted by Dimitrie

O. Paun).
parent d1682984
...@@ -1827,8 +1827,8 @@ BOOL WINAPI SetFileTime( HANDLE hFile, ...@@ -1827,8 +1827,8 @@ BOOL WINAPI SetFileTime( HANDLE hFile,
{ {
sec = ((ULONGLONG)mtime->dwHighDateTime << 32) | mtime->dwLowDateTime; sec = ((ULONGLONG)mtime->dwHighDateTime << 32) | mtime->dwLowDateTime;
sec = RtlLargeIntegerDivide( sec, 10000000, &nsec ); sec = RtlLargeIntegerDivide( sec, 10000000, &nsec );
tv[0].tv_sec = sec - SECS_1601_TO_1970; tv[1].tv_sec = sec - SECS_1601_TO_1970;
tv[0].tv_usec = (UINT)nsec / 10; tv[1].tv_usec = (UINT)nsec / 10;
} }
if (!futimes( fd, tv )) ret = TRUE; if (!futimes( fd, tv )) ret = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment