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
20c70ed8
Commit
20c70ed8
authored
Jan 15, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msrle32: Remove superfluous pointer casts.
parent
9975dcd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
msrle32.c
dlls/msrle32/msrle32.c
+9
-9
No files found.
dlls/msrle32/msrle32.c
View file @
20c70ed8
...
...
@@ -1497,11 +1497,11 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize)
lpic
->
lpbiOutput
->
biSizeImage
=
0
;
if
(
lpic
->
lpbiOutput
->
biBitCount
==
4
)
MSRLE32_CompressRLE4
(
pi
,
lpic
->
lpbiInput
,
(
LPBYTE
)
lpic
->
lpInput
,
lpic
->
lpbiOutput
,
(
LPBYTE
)
lpic
->
lpOutput
,
(
lpic
->
dwFlags
&
ICCOMPRESS_KEYFRAME
)
!=
0
);
MSRLE32_CompressRLE4
(
pi
,
lpic
->
lpbiInput
,
lpic
->
lpInput
,
lpic
->
lpbiOutput
,
lpic
->
lpOutput
,
(
lpic
->
dwFlags
&
ICCOMPRESS_KEYFRAME
)
!=
0
);
else
MSRLE32_CompressRLE8
(
pi
,
lpic
->
lpbiInput
,
(
LPBYTE
)
lpic
->
lpInput
,
lpic
->
lpbiOutput
,
(
LPBYTE
)
lpic
->
lpOutput
,
(
lpic
->
dwFlags
&
ICCOMPRESS_KEYFRAME
)
!=
0
);
MSRLE32_CompressRLE8
(
pi
,
lpic
->
lpbiInput
,
lpic
->
lpInput
,
lpic
->
lpbiOutput
,
lpic
->
lpOutput
,
(
lpic
->
dwFlags
&
ICCOMPRESS_KEYFRAME
)
!=
0
);
if
(
lpic
->
dwFrameSize
==
0
||
lpic
->
lpbiOutput
->
biSizeImage
<
lpic
->
dwFrameSize
)
...
...
@@ -1509,11 +1509,11 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize)
if
((
*
lpic
->
lpdwFlags
&
ICCOMPRESS_KEYFRAME
)
==
0
)
{
if
(
lpic
->
lpbiOutput
->
biBitCount
==
4
)
MSRLE32_CompressRLE4
(
pi
,
lpic
->
lpbiInput
,
(
LPBYTE
)
lpic
->
lpInput
,
lpic
->
lpbiOutput
,
(
LPBYTE
)
lpic
->
lpOutput
,
TRUE
);
MSRLE32_CompressRLE4
(
pi
,
lpic
->
lpbiInput
,
lpic
->
lpInput
,
lpic
->
lpbiOutput
,
lpic
->
lpOutput
,
TRUE
);
else
MSRLE32_CompressRLE8
(
pi
,
lpic
->
lpbiInput
,
(
LPBYTE
)
lpic
->
lpInput
,
lpic
->
lpbiOutput
,
(
LPBYTE
)
lpic
->
lpOutput
,
TRUE
);
MSRLE32_CompressRLE8
(
pi
,
lpic
->
lpbiInput
,
lpic
->
lpInput
,
lpic
->
lpbiOutput
,
lpic
->
lpOutput
,
TRUE
);
if
(
lpic
->
dwFrameSize
==
0
||
lpic
->
lpbiOutput
->
biSizeImage
<
lpic
->
dwFrameSize
)
{
...
...
@@ -1908,7 +1908,7 @@ LRESULT CALLBACK MSRLE32_DriverProc(DWORD_PTR dwDrvID, HDRVR hDrv, UINT uMsg,
/* DllMain - library initialization code */
BOOL
WINAPI
DllMain
(
HINSTANCE
hModule
,
DWORD
dwReason
,
LPVOID
lpReserved
)
{
TRACE
(
"(%p,%d,%p)
\n
"
,
(
LPVOID
)
hModule
,
dwReason
,
lpReserved
);
TRACE
(
"(%p,%d,%p)
\n
"
,
hModule
,
dwReason
,
lpReserved
);
switch
(
dwReason
)
{
case
DLL_PROCESS_ATTACH
:
...
...
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