Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c0e85b9f
Commit
c0e85b9f
authored
Mar 13, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Pass a value instead of a pointer to avoid type mismatch warnings.
parent
34ff5657
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
winefile.c
programs/winefile/winefile.c
+4
-4
No files found.
programs/winefile/winefile.c
View file @
c0e85b9f
...
...
@@ -465,9 +465,9 @@ static Entry* read_tree_win(Root* root, LPCWSTR path, SORT_ORDER sortOrder, HWND
#ifdef __WINE__
static
BOOL
time_to_filetime
(
const
time_t
*
t
,
FILETIME
*
ftime
)
static
BOOL
time_to_filetime
(
time_t
t
,
FILETIME
*
ftime
)
{
struct
tm
*
tm
=
gmtime
(
t
);
struct
tm
*
tm
=
gmtime
(
&
t
);
SYSTEMTIME
stime
;
if
(
!
tm
)
...
...
@@ -534,8 +534,8 @@ static void read_directory_unix(Entry* dir, LPCWSTR path)
entry
->
data
.
nFileSizeHigh
=
st
.
st_size
>>
32
;
memset
(
&
entry
->
data
.
ftCreationTime
,
0
,
sizeof
(
FILETIME
));
time_to_filetime
(
&
st
.
st_atime
,
&
entry
->
data
.
ftLastAccessTime
);
time_to_filetime
(
&
st
.
st_mtime
,
&
entry
->
data
.
ftLastWriteTime
);
time_to_filetime
(
st
.
st_atime
,
&
entry
->
data
.
ftLastAccessTime
);
time_to_filetime
(
st
.
st_mtime
,
&
entry
->
data
.
ftLastWriteTime
);
entry
->
bhfi
.
nFileIndexLow
=
ent
->
d_ino
;
entry
->
bhfi
.
nFileIndexHigh
=
0
;
...
...
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