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
0ae10108
Commit
0ae10108
authored
Aug 09, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Remove useless casts to self.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ce990986
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
brush.c
dlls/gdi32/tests/brush.c
+1
-1
path.c
dlls/gdi32/tests/path.c
+1
-1
No files found.
dlls/gdi32/tests/brush.c
View file @
0ae10108
...
...
@@ -165,7 +165,7 @@ static void test_pattern_brush(void)
info
->
bmiHeader
.
biBitCount
=
1
;
info
->
bmiHeader
.
biPlanes
=
1
;
info
->
bmiHeader
.
biCompression
=
BI_RGB
;
bitmap
=
CreateDIBSection
(
0
,
info
,
DIB_RGB_COLORS
,
(
void
**
)
&
bits
,
NULL
,
0
);
bitmap
=
CreateDIBSection
(
0
,
info
,
DIB_RGB_COLORS
,
&
bits
,
NULL
,
0
);
ok
(
bitmap
!=
NULL
,
"CreateDIBSection failed
\n
"
);
/* MSDN says a DIB section is not allowed, but it works fine */
...
...
dlls/gdi32/tests/path.c
View file @
0ae10108
...
...
@@ -51,7 +51,7 @@ static void test_path_state(void)
bi
->
bmiHeader
.
biBitCount
=
32
;
bi
->
bmiHeader
.
biPlanes
=
1
;
bi
->
bmiHeader
.
biCompression
=
BI_RGB
;
dib
=
CreateDIBSection
(
0
,
bi
,
DIB_RGB_COLORS
,
(
void
**
)
&
bits
,
NULL
,
0
);
dib
=
CreateDIBSection
(
0
,
bi
,
DIB_RGB_COLORS
,
&
bits
,
NULL
,
0
);
orig
=
SelectObject
(
hdc
,
dib
);
BeginPath
(
hdc
);
...
...
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