Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a8f02b8b
Commit
a8f02b8b
authored
Nov 22, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Cast-qual warnings fix.
parent
6a6f1f48
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mci.c
dlls/winmm/mci.c
+4
-4
No files found.
dlls/winmm/mci.c
View file @
a8f02b8b
...
...
@@ -304,14 +304,14 @@ static int MCI_MapMsgAtoW(UINT msg, DWORD_PTR dwParam1, DWORD_PTR *dwParam2)
if
(
dwParam1
&
MCI_OPEN_TYPE
)
{
if
(
dwParam1
&
MCI_OPEN_TYPE_ID
)
mci_openW
->
lpstrDeviceType
=
(
LPWSTR
)
mci_openA
->
lpstrDeviceType
;
mci_openW
->
lpstrDeviceType
=
(
LP
C
WSTR
)
mci_openA
->
lpstrDeviceType
;
else
mci_openW
->
lpstrDeviceType
=
MCI_strdupAtoW
(
mci_openA
->
lpstrDeviceType
);
}
if
(
dwParam1
&
MCI_OPEN_ELEMENT
)
{
if
(
dwParam1
&
MCI_OPEN_ELEMENT_ID
)
mci_openW
->
lpstrElementName
=
(
LPWSTR
)
mci_openA
->
lpstrElementName
;
mci_openW
->
lpstrElementName
=
(
LP
C
WSTR
)
mci_openA
->
lpstrElementName
;
else
mci_openW
->
lpstrElementName
=
MCI_strdupAtoW
(
mci_openA
->
lpstrElementName
);
}
...
...
@@ -980,8 +980,8 @@ static LPCWSTR MCI_FindCommand(UINT uTbl, LPCWSTR verb)
*/
static
DWORD
MCI_GetReturnType
(
LPCWSTR
lpCmd
)
{
lpCmd
=
(
LPCWSTR
)((
BYTE
*
)(
lpCmd
+
strlenW
(
lpCmd
)
+
1
)
+
sizeof
(
DWORD
)
+
sizeof
(
WORD
));
if
(
*
lpCmd
==
'\0'
&&
*
(
const
WORD
*
)((
BYTE
*
)(
lpCmd
+
1
)
+
sizeof
(
DWORD
))
==
MCI_RETURN
)
{
lpCmd
=
(
LPCWSTR
)((
const
BYTE
*
)(
lpCmd
+
strlenW
(
lpCmd
)
+
1
)
+
sizeof
(
DWORD
)
+
sizeof
(
WORD
));
if
(
*
lpCmd
==
'\0'
&&
*
(
const
WORD
*
)((
const
BYTE
*
)(
lpCmd
+
1
)
+
sizeof
(
DWORD
))
==
MCI_RETURN
)
{
return
*
(
const
DWORD
*
)(
lpCmd
+
1
);
}
return
0L
;
...
...
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