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
baf32ced
Commit
baf32ced
authored
Mar 24, 2015
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
61652263
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+1
-1
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+1
-1
No files found.
dlls/ddraw/tests/ddraw4.c
View file @
baf32ced
...
...
@@ -8264,7 +8264,7 @@ static void test_signed_formats(void)
ok
(
SUCCEEDED
(
hr
),
"Failed to lock surface, hr %#x, format %s.
\n
"
,
hr
,
formats
[
i
].
name
);
for
(
y
=
0
;
y
<
4
;
y
++
)
{
memcpy
((
char
*
)
surface_desc
.
lpSurface
+
y
*
surface_desc
.
lPitch
,
memcpy
((
char
*
)
surface_desc
.
lpSurface
+
y
*
U1
(
surface_desc
)
.
lPitch
,
(
char
*
)
formats
[
i
].
content
+
y
*
4
*
formats
[
i
].
pixel_size
,
width
*
formats
[
i
].
pixel_size
);
}
...
...
dlls/ddraw/tests/ddraw7.c
View file @
baf32ced
...
...
@@ -8474,7 +8474,7 @@ static void test_signed_formats(void)
ok
(
SUCCEEDED
(
hr
),
"Failed to lock surface, hr %#x, format %s.
\n
"
,
hr
,
formats
[
i
].
name
);
for
(
y
=
0
;
y
<
4
;
y
++
)
{
memcpy
((
char
*
)
surface_desc
.
lpSurface
+
y
*
surface_desc
.
lPitch
,
memcpy
((
char
*
)
surface_desc
.
lpSurface
+
y
*
U1
(
surface_desc
)
.
lPitch
,
(
char
*
)
formats
[
i
].
content
+
y
*
4
*
formats
[
i
].
pixel_size
,
width
*
formats
[
i
].
pixel_size
);
}
...
...
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