Commit 055e6322 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmusic: Remove superfluous casts to self.

parent ad1ba078
......@@ -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);
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment