a10492ff33152cef5a835761125219d3e4ee21d0

The OwningThread member of CRITICAL_SECTION is declared as having type HANDLE but it is actually the thread's Thread ID which is a DWORD. When doing 64-bit builds of Chromium with VS 2015 this triggers a warning because of the suspicious conversion from 32-bit integer to 64-bit pointer. This change adds a cast (and some comments) to make the conversion explicit and avoid the warning. R=henrikg@webrtc.org BUG=440500 Review URL: https://codereview.webrtc.org/1386183002 Cr-Commit-Position: refs/heads/master@{#10190}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
Development
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
More info
- Official web site: http://www.webrtc.org
- Master source code repo: https://chromium.googlesource.com/external/webrtc
- Samples and reference apps: https://github.com/webrtc
- Mailing list: http://groups.google.com/group/discuss-webrtc
- Continuous build: http://build.chromium.org/p/client.webrtc
Description
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%