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
b53877d9
Commit
b53877d9
authored
Jan 14, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Remove superfluous pointer casts.
parent
4c7e72bb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
graphics.c
dlls/gdiplus/graphics.c
+1
-1
image.c
dlls/gdiplus/image.c
+1
-1
image.c
dlls/gdiplus/tests/image.c
+1
-1
No files found.
dlls/gdiplus/graphics.c
View file @
b53877d9
...
...
@@ -3229,7 +3229,7 @@ GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics *graphics, GDIPCONST G
m
=
*
(
graphics
->
worldtrans
);
ret
=
GdipMultiplyMatrix
(
&
m
,
(
GpMatrix
*
)
matrix
,
order
);
ret
=
GdipMultiplyMatrix
(
&
m
,
matrix
,
order
);
if
(
ret
==
Ok
)
*
(
graphics
->
worldtrans
)
=
m
;
...
...
dlls/gdiplus/image.c
View file @
b53877d9
...
...
@@ -1180,7 +1180,7 @@ static GpStatus encode_image_BMP(LPVOID bitmap_bits, LPBITMAPINFO bitmap_info,
*
output
=
GdipAlloc
(
*
output_size
);
bmp_file_hdr
=
(
BITMAPFILEHEADER
*
)
*
output
;
bmp_file_hdr
=
*
output
;
bmp_file_hdr
->
bfType
=
BITMAP_FORMAT_BMP
;
bmp_file_hdr
->
bfSize
=
*
output_size
;
bmp_file_hdr
->
bfOffBits
=
...
...
dlls/gdiplus/tests/image.c
View file @
b53877d9
...
...
@@ -455,7 +455,7 @@ static void test_GdipCreateBitmapFromHBITMAP(void)
LogPal
=
GdipAlloc
(
sizeof
(
LOGPALETTE
));
ok
(
LogPal
!=
NULL
,
"unable to allocate LOGPALETTE
\n
"
);
LogPal
->
palVersion
=
0x300
;
hpal
=
CreatePalette
(
(
const
LOGPALETTE
*
)
LogPal
);
hpal
=
CreatePalette
(
LogPal
);
ok
(
hpal
!=
NULL
,
"CreatePalette failed
\n
"
);
GdipFree
(
LogPal
);
...
...
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