diff --git a/dlls/dmime/segment.c b/dlls/dmime/segment.c index 9368a9b9129..48d5a1710df 100644 --- a/dlls/dmime/segment.c +++ b/dlls/dmime/segment.c @@ -1167,7 +1167,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_LoadWave (LPPERSISTSTREAM return hr; } /* acquire PersistStream interface */ - hr = IDirectMusicTrack_QueryInterface (*ppWaveObject, &IID_IPersistStream, (LPVOID*) &pPersistStream); + hr = IDirectMusicObject_QueryInterface (*ppWaveObject, &IID_IPersistStream, (LPVOID*) &pPersistStream); if (FAILED(hr)) { ERR(": could not acquire IPersistStream\n"); return hr;