commit | a811027990e7eb674f1c89e09c524530947c26d2 | [log] [tgz] |
---|---|---|
author | Mirko Bonadei <mbonadei@webrtc.org> | Wed Oct 18 12:22:50 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 18 12:28:58 2017 |
tree | c6d1e913e71556c57f501409256f6c29e12dc701 | |
parent | 9ce0c7a2d2b4e1f6f85b44dd6face675309e4f07 [diff] |
Fixing warning C4267 on Win (more_configs). We added a new bot to client.webrtc.fyi (https://build.chromium.org/p/client.webrtc.fyi/builders/Win%20%28more%20configs%29). It seems it is spotting some unsafe conversions and this CL is a test to see if we can use rtc::dchecked_cast to fix them: ../../modules/audio_coding/neteq/neteq_unittest.cc(547): error C2220: warning treated as error - no 'object' file generated ../../modules/audio_coding/neteq/neteq_unittest.cc(547): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data ../../modules/audio_coding/neteq/neteq_unittest.cc(548): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data ../../modules/audio_coding/neteq/neteq_unittest.cc(977): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data ../../modules/audio_coding/neteq/neteq_unittest.cc(979): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss Bug: chromium:759980 Change-Id: Icd0f32ccf620c7c6642fadff797dc2482918648d No-Try: True Reviewed-on: https://webrtc-review.googlesource.com/12921 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20335}
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.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.