mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 17:23:37 +00:00
mfplat/tests: Avoid cast from COM object to interface.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2433a96202
commit
2a08366997
|
@ -3129,7 +3129,7 @@ static void test_event_queue(void)
|
|||
ok(hr == MF_S_MULTIPLE_BEGIN, "Unexpected hr %#x.\n", hr);
|
||||
|
||||
/* Same callback, different state. */
|
||||
hr = IMFMediaEventQueue_BeginGetEvent(queue, &callback.IMFAsyncCallback_iface, (IUnknown *)&callback);
|
||||
hr = IMFMediaEventQueue_BeginGetEvent(queue, &callback.IMFAsyncCallback_iface, (IUnknown *)&callback.IMFAsyncCallback_iface);
|
||||
ok(hr == MF_E_MULTIPLE_BEGIN, "Unexpected hr %#x.\n", hr);
|
||||
|
||||
/* Different callback, same state. */
|
||||
|
|
Loading…
Reference in a new issue