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
ca8d5a79
Commit
ca8d5a79
authored
Jan 11, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32: Remove superfluous pointer casts.
parent
f927cfd2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
mciwnd.c
dlls/msvfw32/mciwnd.c
+1
-1
msvideo16.c
dlls/msvfw32/msvideo16.c
+1
-1
msvideo_main.c
dlls/msvfw32/msvideo_main.c
+6
-6
No files found.
dlls/msvfw32/mciwnd.c
View file @
ca8d5a79
...
...
@@ -309,7 +309,7 @@ static LRESULT MCIWND_Create(HWND hWnd, LPCREATESTRUCTW cs)
/* MCI wnd class is prepared to be embedded as an MDI child window */
if
(
cs
->
dwExStyle
&
WS_EX_MDICHILD
)
{
MDICREATESTRUCTW
*
mdics
=
(
MDICREATESTRUCTW
*
)
cs
->
lpCreateParams
;
MDICREATESTRUCTW
*
mdics
=
cs
->
lpCreateParams
;
lParam
=
mdics
->
lParam
;
}
else
...
...
dlls/msvfw32/msvideo16.c
View file @
ca8d5a79
...
...
@@ -602,7 +602,7 @@ static void MSVIDEO_UnmapMsg16To32(UINT msg, LPVOID data16, LPDWORD lParam1, LPD
case
ICM_GETINFO
:
{
ICINFO
*
ici
=
(
ICINFO
*
)(
*
lParam1
);
ICINFO16
*
ici16
=
(
ICINFO16
*
)
data16
;
ICINFO16
*
ici16
=
data16
;
UNCOPY
(
ici
,
fccType
);
UNCOPY
(
ici
,
fccHandler
);
...
...
dlls/msvfw32/msvideo_main.c
View file @
ca8d5a79
...
...
@@ -175,7 +175,7 @@ DWORD WINAPI VideoForWindowsVersion(void)
static
BOOL
ICInfo_enum_handler
(
const
char
*
drv
,
unsigned
int
nr
,
void
*
param
)
{
ICINFO
*
lpicinfo
=
(
ICINFO
*
)
param
;
ICINFO
*
lpicinfo
=
param
;
DWORD
fccHandler
=
mmioStringToFOURCCA
(
drv
+
5
,
0
);
/* exact match of fccHandler or nth driver found */
...
...
@@ -521,7 +521,7 @@ static HIC try_driver(driver_info_t *info)
static
BOOL
ICLocate_enum_handler
(
const
char
*
drv
,
unsigned
int
nr
,
void
*
param
)
{
driver_info_t
*
info
=
(
driver_info_t
*
)
param
;
driver_info_t
*
info
=
param
;
info
->
fccHandler
=
mmioStringToFOURCCA
(
drv
+
5
,
0
);
info
->
hic
=
try_driver
(
info
);
return
info
->
hic
!=
0
;
...
...
@@ -1299,7 +1299,7 @@ HANDLE VFWAPI ICImageDecompress(
pHdr
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
cbHdr
+
sizeof
(
RGBQUAD
)
*
256
);
if
(
pHdr
==
NULL
)
goto
err
;
if
(
ICDecompressGetFormat
(
hic
,
lpbiIn
,
(
BITMAPINFO
*
)
pHdr
)
!=
ICERR_OK
)
if
(
ICDecompressGetFormat
(
hic
,
lpbiIn
,
pHdr
)
!=
ICERR_OK
)
goto
err
;
lpbiOut
=
(
BITMAPINFO
*
)
pHdr
;
if
(
lpbiOut
->
bmiHeader
.
biBitCount
<=
8
&&
...
...
@@ -1337,7 +1337,7 @@ HANDLE VFWAPI ICImageDecompress(
WARN
(
"out of memory
\n
"
);
goto
err
;
}
pMem
=
(
BYTE
*
)
GlobalLock
(
hMem
);
pMem
=
GlobalLock
(
hMem
);
if
(
pMem
==
NULL
)
goto
err
;
memcpy
(
pMem
,
lpbiOut
,
cbHdr
);
...
...
@@ -1368,7 +1368,7 @@ err:
*/
LPVOID
VFWAPI
ICSeqCompressFrame
(
PCOMPVARS
pc
,
UINT
uiFlags
,
LPVOID
lpBits
,
BOOL
*
pfKey
,
LONG
*
plSize
)
{
ICCOMPRESS
*
icComp
=
(
ICCOMPRESS
*
)
pc
->
lpState
;
ICCOMPRESS
*
icComp
=
pc
->
lpState
;
DWORD
ret
;
TRACE
(
"(%p, 0x%08x, %p, %p, %p)
\n
"
,
pc
,
uiFlags
,
lpBits
,
pfKey
,
plSize
);
...
...
@@ -1490,7 +1490,7 @@ BOOL VFWAPI ICSeqCompressFrameStart(PCOMPVARS pc, LPBITMAPINFO lpbiIn)
TRACE
(
" -- %x
\n
"
,
ret
);
if
(
ret
==
ICERR_OK
)
{
ICCOMPRESS
*
icComp
=
(
ICCOMPRESS
*
)
pc
->
lpState
;
ICCOMPRESS
*
icComp
=
pc
->
lpState
;
/* Initialise some variables */
pc
->
lFrame
=
0
;
pc
->
lKeyCount
=
0
;
...
...
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