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
24e58162
Commit
24e58162
authored
Jan 15, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciseq: Remove superfluous pointer casts.
parent
e9f1aa29
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mcimidi.c
dlls/mciseq/mcimidi.c
+3
-3
No files found.
dlls/mciseq/mcimidi.c
View file @
24e58162
...
...
@@ -104,7 +104,7 @@ struct SCA {
*/
static
DWORD
CALLBACK
MCI_SCAStarter
(
LPVOID
arg
)
{
struct
SCA
*
sca
=
(
struct
SCA
*
)
arg
;
struct
SCA
*
sca
=
arg
;
DWORD
ret
;
TRACE
(
"In thread before async command (%08x,%u,%08lx,%08lx)
\n
"
,
...
...
@@ -403,7 +403,7 @@ static DWORD MIDI_mciReadMTrk(WINE_MCIMIDI* wmm, MCI_MIDITRACK* mmt)
WARN
(
"Buffer for text is too small (%u are needed)
\n
"
,
len
);
len
=
sizeof
(
buf
)
-
1
;
}
if
(
mmioRead
(
wmm
->
hFile
,
(
HPSTR
)
buf
,
len
)
==
len
)
{
if
(
mmioRead
(
wmm
->
hFile
,
buf
,
len
)
==
len
)
{
buf
[
len
]
=
0
;
/* end string in case */
switch
(
HIBYTE
(
LOWORD
(
mmt
->
dwEventData
)))
{
case
0x02
:
...
...
@@ -1051,7 +1051,7 @@ static DWORD MIDI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms)
WARN
(
"Buffer for text is too small (%u are needed)
\n
"
,
len
);
len
=
sizeof
(
buf
)
-
1
;
}
if
(
mmioRead
(
wmm
->
hFile
,
(
HPSTR
)
buf
,
len
)
==
len
)
{
if
(
mmioRead
(
wmm
->
hFile
,
buf
,
len
)
==
len
)
{
buf
[
len
]
=
0
;
/* end string in case */
TRACE
(
"%s =>
\"
%s
\"\n
"
,
(
idx
<
8
)
?
info
[
idx
]
:
""
,
buf
);
}
else
{
...
...
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