Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
63ce2ac3
Commit
63ce2ac3
authored
Dec 08, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: Don't cast zero.
parent
02d1154b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
int21.c
dlls/winedos/int21.c
+3
-3
No files found.
dlls/winedos/int21.c
View file @
63ce2ac3
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment