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
387289e5
Commit
387289e5
authored
Nov 15, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Fix compilation on systems that don't support nameless unions.
parent
83065184
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
istream.c
dlls/shlwapi/tests/istream.c
+3
-3
No files found.
dlls/shlwapi/tests/istream.c
View file @
387289e5
...
...
@@ -675,7 +675,7 @@ static void test_SHCreateStreamOnFileEx_CopyTo(void)
ok
(
SUCCEEDED
(
ret
),
"SHCreateStreamOnFileEx failed with ret=0x%08x
\n
"
,
ret
);
written
.
QuadPart
=
0
;
ret
=
IStream_Write
(
src
,
srcContents
,
sizeof
(
srcContents
),
&
written
.
LowPart
);
ret
=
IStream_Write
(
src
,
srcContents
,
sizeof
(
srcContents
),
&
U
(
written
)
.
LowPart
);
ok
(
SUCCEEDED
(
ret
),
"ISequentialStream_Write failed with ret=0x%08x
\n
"
,
ret
);
distance
.
QuadPart
=
0
;
...
...
@@ -691,8 +691,8 @@ static void test_SHCreateStreamOnFileEx_CopyTo(void)
ret
=
IStream_CopyTo
(
src
,
dst
,
count
,
&
read
,
&
written
);
ok
(
SUCCEEDED
(
ret
),
"CopyTo failed with ret=0x%08x
\n
"
,
ret
);
ok
(
read
.
QuadPart
==
1
,
"read does not match size: %d != 1
\n
"
,
read
.
LowPart
);
ok
(
written
.
QuadPart
==
1
,
"written does not match size: %d != 1
\n
"
,
written
.
LowPart
);
ok
(
read
.
QuadPart
==
1
,
"read does not match size: %d != 1
\n
"
,
U
(
read
)
.
LowPart
);
ok
(
written
.
QuadPart
==
1
,
"written does not match size: %d != 1
\n
"
,
U
(
written
)
.
LowPart
);
IStream_Release
(
dst
);
IStream_Release
(
src
);
...
...
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