Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
7ba8c0a4
Commit
7ba8c0a4
authored
May 28, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
May 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Fix a signed/unsigned int mismatch.
parent
e4a98928
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bitmap.c
dlls/gdi32/tests/bitmap.c
+3
-3
No files found.
dlls/gdi32/tests/bitmap.c
View file @
7ba8c0a4
...
...
@@ -1051,7 +1051,7 @@ static void test_GetDIBits_selected_DIB(UINT bpp)
info
->
bmiHeader
.
biBitCount
=
bpp
;
info
->
bmiHeader
.
biCompression
=
BI_RGB
;
for
(
i
=
0
;
i
<
(
1
<<
bpp
);
i
++
)
for
(
i
=
0
;
i
<
(
1
u
<<
bpp
);
i
++
)
{
BYTE
c
=
i
*
(
1
<<
(
8
-
bpp
));
info
->
bmiColors
[
i
].
rgbRed
=
c
;
...
...
@@ -1085,7 +1085,7 @@ static void test_GetDIBits_selected_DIB(UINT bpp)
/* Compare the color table and the bits */
equalContents
=
TRUE
;
for
(
i
=
0
;
i
<
(
1
<<
bpp
);
i
++
)
for
(
i
=
0
;
i
<
(
1
u
<<
bpp
);
i
++
)
{
if
((
info
->
bmiColors
[
i
].
rgbRed
!=
info2
->
bmiColors
[
i
].
rgbRed
)
||
(
info
->
bmiColors
[
i
].
rgbGreen
!=
info2
->
bmiColors
[
i
].
rgbGreen
)
...
...
@@ -1208,7 +1208,7 @@ static void test_GetDIBits_selected_DDB(BOOL monochrome)
if
(
bpp
<=
8
)
{
equalContents
=
TRUE
;
for
(
i
=
0
;
i
<
(
1
<<
bpp
);
i
++
)
for
(
i
=
0
;
i
<
(
1
u
<<
bpp
);
i
++
)
{
if
((
info
->
bmiColors
[
i
].
rgbRed
!=
info2
->
bmiColors
[
i
].
rgbRed
)
||
(
info
->
bmiColors
[
i
].
rgbGreen
!=
info2
->
bmiColors
[
i
].
rgbGreen
)
...
...
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