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

Unified Diff: webrtc/modules/video_capture/windows/video_capture_ds.cc

Issue 1593713013: Roll chromium_revision 7a4fb8d..f527e86 (370025:370073) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix/disable Win Clang warnings Created 4 years, 11 months 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
Index: webrtc/modules/video_capture/windows/video_capture_ds.cc
diff --git a/webrtc/modules/video_capture/windows/video_capture_ds.cc b/webrtc/modules/video_capture/windows/video_capture_ds.cc
index b69e50121d1a6da896b999f0e9d2e2817d6a7994..dcef2d4706b0b8d0fb6093e5b3fcb56d8d654847 100644
--- a/webrtc/modules/video_capture/windows/video_capture_ds.cc
+++ b/webrtc/modules/video_capture/windows/video_capture_ds.cc
@@ -395,7 +395,7 @@ HRESULT VideoCaptureDS::ConnectDVCamera()
hr = _graphBuilder->ConnectDirect(_outputDvPin, _inputSendPin, NULL);
if (hr != S_OK)
{
- if (hr == 0x80070004)
+ if (hr == (long)0x80070004)
henrika_webrtc 2016/01/19 08:55:17 Could you use a suffix here, like 0x80070004L?
kjellander_webrtc 2016/01/19 09:18:21 I tried, but it becomes an unsigned long even if h
henrika_webrtc 2016/01/19 09:24:14 never mind, but L or l should be long (see http://
torbjorng (webrtc) 2016/01/19 13:10:02 My understanding is that on systems where "long" i
kjellander_webrtc 2016/01/19 13:48:58 Thanks for the input. Tommi suggested a better sol
{
WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideoCapture, _id,
"Failed to connect the capture device, busy");

Powered by Google App Engine
This is Rietveld 408576698