Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: Samples/multimedia/directshow/baseclasses/wxdebug.cpp

Issue 1524703006: WinSDK samples: Workaround warnings for Clang on Windows. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/deps/third_party/winsdk_samples_v71@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Samples/multimedia/directshow/baseclasses/wxutil.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | Samples/multimedia/directshow/baseclasses/wxutil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698