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
2b76dfba
Commit
2b76dfba
authored
May 24, 2014
by
Francois Gouget
Committed by
Alexandre Julliard
May 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrrun: Fix compilation on systems that don't support nameless unions.
parent
8c9a145f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
filesystem.c
dlls/scrrun/filesystem.c
+4
-4
No files found.
dlls/scrrun/filesystem.c
View file @
2b76dfba
...
...
@@ -892,7 +892,7 @@ static HRESULT variant_from_largeint(const ULARGE_INTEGER *src, VARIANT *v)
{
HRESULT
hr
=
S_OK
;
if
(
src
->
HighPart
||
src
->
LowPart
>
INT_MAX
)
if
(
src
->
u
.
HighPart
||
src
->
u
.
LowPart
>
INT_MAX
)
{
V_VT
(
v
)
=
VT_R8
;
hr
=
VarR8FromUI8
(
src
->
QuadPart
,
&
V_R8
(
v
));
...
...
@@ -900,7 +900,7 @@ static HRESULT variant_from_largeint(const ULARGE_INTEGER *src, VARIANT *v)
else
{
V_VT
(
v
)
=
VT_I4
;
V_I4
(
v
)
=
src
->
LowPart
;
V_I4
(
v
)
=
src
->
u
.
LowPart
;
}
return
hr
;
...
...
@@ -2649,8 +2649,8 @@ static HRESULT WINAPI file_get_Size(IFile *iface, VARIANT *pvarSize)
return
create_error
(
GetLastError
());
FindClose
(
f
);
size
.
LowPart
=
fd
.
nFileSizeLow
;
size
.
HighPart
=
fd
.
nFileSizeHigh
;
size
.
u
.
LowPart
=
fd
.
nFileSizeLow
;
size
.
u
.
HighPart
=
fd
.
nFileSizeHigh
;
return
variant_from_largeint
(
&
size
,
pvarSize
);
}
...
...
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