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
055e6322
Commit
055e6322
authored
Nov 13, 2023
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Remove superfluous casts to self.
parent
ad1ba078
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dmobject.c
dlls/dmusic/dmobject.c
+1
-1
dmusic.c
dlls/dmusic/tests/dmusic.c
+1
-1
No files found.
dlls/dmusic/dmobject.c
View file @
055e6322
...
@@ -466,7 +466,7 @@ HRESULT stream_get_object(IStream *stream, DMUS_OBJECTDESC *desc, REFIID iid, vo
...
@@ -466,7 +466,7 @@ HRESULT stream_get_object(IStream *stream, DMUS_OBJECTDESC *desc, REFIID iid, vo
if
(
SUCCEEDED
(
hr
=
stream_get_loader
(
stream
,
&
loader
)))
if
(
SUCCEEDED
(
hr
=
stream_get_loader
(
stream
,
&
loader
)))
{
{
hr
=
IDirectMusicLoader_GetObject
(
loader
,
desc
,
iid
,
(
void
**
)
ret_iface
);
hr
=
IDirectMusicLoader_GetObject
(
loader
,
desc
,
iid
,
ret_iface
);
IDirectMusicLoader_Release
(
loader
);
IDirectMusicLoader_Release
(
loader
);
}
}
...
...
dlls/dmusic/tests/dmusic.c
View file @
055e6322
...
@@ -1078,7 +1078,7 @@ static void test_port_download(void)
...
@@ -1078,7 +1078,7 @@ static void test_port_download(void)
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
size
=
0xdeadbeef
;
size
=
0xdeadbeef
;
buffer
=
invalid_ptr
;
buffer
=
invalid_ptr
;
hr
=
IDirectMusicDownload_GetBuffer
(
download
,
(
void
**
)
&
buffer
,
&
size
);
hr
=
IDirectMusicDownload_GetBuffer
(
download
,
&
buffer
,
&
size
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
ok
(
size
==
1
,
"got %#lx
\n
"
,
size
);
ok
(
size
==
1
,
"got %#lx
\n
"
,
size
);
ok
(
buffer
!=
invalid_ptr
,
"got %p
\n
"
,
buffer
);
ok
(
buffer
!=
invalid_ptr
,
"got %p
\n
"
,
buffer
);
...
...
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