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
529aa7de
Commit
529aa7de
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
a8f02b8b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
playsound.c
dlls/winmm/playsound.c
+3
-3
No files found.
dlls/winmm/playsound.c
View file @
529aa7de
...
@@ -220,10 +220,10 @@ static WINE_PLAYSOUND* PlaySound_Alloc(const void* pszSound, HMODULE hmod,
...
@@ -220,10 +220,10 @@ static WINE_PLAYSOUND* PlaySound_Alloc(const void* pszSound, HMODULE hmod,
{
{
if
(
fdwSound
&
SND_ASYNC
)
if
(
fdwSound
&
SND_ASYNC
)
{
{
wps
->
pszS
ound
=
HeapAlloc
(
GetProcessHeap
(),
0
,
LPWSTR
s
ound
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
lstrlenW
(
pszSound
)
+
1
)
*
sizeof
(
WCHAR
));
(
lstrlenW
(
pszSound
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
!
wps
->
pszS
ound
)
goto
oom_error
;
if
(
!
s
ound
)
goto
oom_error
;
lstrcpyW
((
LPWSTR
)
wps
->
pszS
ound
,
pszSound
);
wps
->
pszSound
=
lstrcpyW
(
s
ound
,
pszSound
);
wps
->
bAlloc
=
TRUE
;
wps
->
bAlloc
=
TRUE
;
}
}
else
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