Index: Samples/multimedia/directshow/baseclasses/wxdebug.cpp |
diff --git a/Samples/multimedia/directshow/baseclasses/wxdebug.cpp b/Samples/multimedia/directshow/baseclasses/wxdebug.cpp |
index 3c433031940bd7d77100e1eb5435844fe64ff618..57638912f452ed27c296f625b3295a2fe6d16320 100644 |
--- a/Samples/multimedia/directshow/baseclasses/wxdebug.cpp |
+++ b/Samples/multimedia/directshow/baseclasses/wxdebug.cpp |
@@ -1234,7 +1234,7 @@ CDisp::CDisp(IUnknown *pUnk) |
hr = pUnk->QueryInterface(IID_IPin, (void **)&pp); |
if(SUCCEEDED(hr)) |
{ |
- CDisp::CDisp(pp); |
+ CDisp::CDisp(static_cast<IPin*>(pp)); |
tommi
2015/12/15 16:39:47
hmm.. pp is already IPin*. Why is this cast neede
kjellander_webrtc
2015/12/15 17:57:55
henrika@ and I were wondering that too. The compil
|
pp->Release(); |
return; |
} |