1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-01 07:14:31 +00:00

dmusic: Remove superfluous casts to self.

This commit is contained in:
Michael Stefaniuc 2023-11-13 19:34:31 +01:00 committed by Alexandre Julliard
parent ad1ba07880
commit 055e632216
2 changed files with 2 additions and 2 deletions

View File

@ -466,7 +466,7 @@ HRESULT stream_get_object(IStream *stream, DMUS_OBJECTDESC *desc, REFIID iid, vo
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);
}

View File

@ -1078,7 +1078,7 @@ static void test_port_download(void)
ok(hr == S_OK, "got %#lx\n", hr);
size = 0xdeadbeef;
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(size == 1, "got %#lx\n", size);
ok(buffer != invalid_ptr, "got %p\n", buffer);