Module: wine Branch: master Commit: 63ce2ac3dc8e32f0830d085c34501a8bd46c938f URL: http://source.winehq.org/git/wine.git/?a=commit;h=63ce2ac3dc8e32f0830d085c34...
Author: Michael Stefaniuc mstefani@redhat.de Date: Mon Dec 8 04:07:14 2008 +0100
winedos: Don't cast zero.
---
dlls/winedos/int21.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/winedos/int21.c b/dlls/winedos/int21.c index 33032d4..b8a1163 100644 --- a/dlls/winedos/int21.c +++ b/dlls/winedos/int21.c @@ -3877,9 +3877,9 @@ static unsigned INT21_FindHelper(LPCWSTR fullPath, unsigned drive, unsigned coun if (count) return 0; path[0] = drive + 'A'; if (!GetVolumeInformationW(path, entry->cAlternateFileName, 13, NULL, NULL, NULL, NULL, 0)) return 0; - RtlSecondsSince1970ToTime( (time_t)0, (LARGE_INTEGER *)&entry->ftCreationTime ); - RtlSecondsSince1970ToTime( (time_t)0, (LARGE_INTEGER *)&entry->ftLastAccessTime ); - RtlSecondsSince1970ToTime( (time_t)0, (LARGE_INTEGER *)&entry->ftLastWriteTime ); + RtlSecondsSince1970ToTime( 0, (LARGE_INTEGER *)&entry->ftCreationTime ); + RtlSecondsSince1970ToTime( 0, (LARGE_INTEGER *)&entry->ftLastAccessTime ); + RtlSecondsSince1970ToTime( 0, (LARGE_INTEGER *)&entry->ftLastWriteTime ); entry->dwFileAttributes = FA_LABEL; entry->nFileSizeHigh = entry->nFileSizeLow = 0; TRACE("returning %s as label\n", debugstr_w(entry->cAlternateFileName));