winedos: Don't cast zero.
Michael Stefaniuc
mstefani at redhat.de
Sun Dec 7 21:07:14 CST 2008
---
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));
--
1.6.1.rc1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081208/2798a8fd/attachment.pgp
More information about the wine-patches
mailing list