Nikolay Sivov (@nsivov) commented about dlls/mf/tests/mf.c:
ok(stop_time == 0, "stop_time = %I64u\n", stop_time);ok(duration == 0, "duration = %I64u\n", duration);IMFByteStreamTimeSeek_Release(seek);- }
- {
BYTE *tmp = malloc(8192);ULONG read = 0, written = 0;QWORD len = 0;hr = IMFByteStream_SetLength((IMFByteStream*)object, 1000);ok(hr == E_NOTIMPL, "Got hr %#lx.\n", hr);hr = IMFByteStream_SetCurrentPosition((IMFByteStream*)object, 1000);ok(hr == S_OK, "Got hr %#lx.\n", hr);
Please use correct type instead of the casts.