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
952699e8
Commit
952699e8
authored
Sep 20, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Remove casts to the type of the casted variable.
parent
4c23c999
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
converter.c
dlls/windowscodecs/converter.c
+6
-6
No files found.
dlls/windowscodecs/converter.c
View file @
952699e8
...
...
@@ -145,7 +145,7 @@ static HRESULT copypixels_to_32bppBGRA(struct FormatConverter *This, const WICRe
srcrow
=
srcdata
;
dstrow
=
pbBuffer
;
for
(
y
=
0
;
y
<
prc
->
Height
;
y
++
)
{
srcbyte
=
(
const
BYTE
*
)
srcrow
;
srcbyte
=
srcrow
;
dstpixel
=
(
DWORD
*
)
dstrow
;
for
(
x
=
0
;
x
<
prc
->
Width
;
x
+=
8
)
{
BYTE
srcval
;
...
...
@@ -214,7 +214,7 @@ static HRESULT copypixels_to_32bppBGRA(struct FormatConverter *This, const WICRe
srcrow
=
srcdata
;
dstrow
=
pbBuffer
;
for
(
y
=
0
;
y
<
prc
->
Height
;
y
++
)
{
srcbyte
=
(
const
BYTE
*
)
srcrow
;
srcbyte
=
srcrow
;
dstpixel
=
(
DWORD
*
)
dstrow
;
for
(
x
=
0
;
x
<
prc
->
Width
;
x
+=
4
)
{
BYTE
srcval
;
...
...
@@ -279,7 +279,7 @@ static HRESULT copypixels_to_32bppBGRA(struct FormatConverter *This, const WICRe
srcrow
=
srcdata
;
dstrow
=
pbBuffer
;
for
(
y
=
0
;
y
<
prc
->
Height
;
y
++
)
{
srcbyte
=
(
const
BYTE
*
)
srcrow
;
srcbyte
=
srcrow
;
dstpixel
=
(
DWORD
*
)
dstrow
;
for
(
x
=
0
;
x
<
prc
->
Width
;
x
+=
2
)
{
BYTE
srcval
;
...
...
@@ -322,7 +322,7 @@ static HRESULT copypixels_to_32bppBGRA(struct FormatConverter *This, const WICRe
srcrow
=
srcdata
;
dstrow
=
pbBuffer
;
for
(
y
=
0
;
y
<
prc
->
Height
;
y
++
)
{
srcbyte
=
(
const
BYTE
*
)
srcrow
;
srcbyte
=
srcrow
;
dstpixel
=
(
DWORD
*
)
dstrow
;
for
(
x
=
0
;
x
<
prc
->
Width
;
x
++
)
{
...
...
@@ -378,7 +378,7 @@ static HRESULT copypixels_to_32bppBGRA(struct FormatConverter *This, const WICRe
srcrow
=
srcdata
;
dstrow
=
pbBuffer
;
for
(
y
=
0
;
y
<
prc
->
Height
;
y
++
)
{
srcbyte
=
(
const
BYTE
*
)
srcrow
;
srcbyte
=
srcrow
;
dstpixel
=
(
DWORD
*
)
dstrow
;
for
(
x
=
0
;
x
<
prc
->
Width
;
x
++
)
*
dstpixel
++
=
colors
[
*
srcbyte
++
];
...
...
@@ -417,7 +417,7 @@ static HRESULT copypixels_to_32bppBGRA(struct FormatConverter *This, const WICRe
srcrow
=
srcdata
;
dstrow
=
pbBuffer
;
for
(
y
=
0
;
y
<
prc
->
Height
;
y
++
)
{
srcbyte
=
(
const
BYTE
*
)
srcrow
;
srcbyte
=
srcrow
;
dstpixel
=
(
DWORD
*
)
dstrow
;
for
(
x
=
0
;
x
<
prc
->
Width
;
x
++
)
{
...
...
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