commit | 9f6ff832d99ae697de34640b0d348983d908604c | [log] [tgz] |
---|---|---|
author | mmorrison <mmorrison@nvidia.com> | Tue Apr 07 15:45:22 2020 -0600 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 09 11:43:14 2020 +0000 |
tree | 99066f180f238faaba872222936b6aa5075180e5 | |
parent | 7db1491a85f63441bf8283a5faa658c8886dd249 [diff] |
Do not trigger -Wimplicit-int-float-conversion This is mentioned in bug 10893 (comment 5). clang 10.0.0 compiler triggered a warning pointing to the changed lines. The issue there is the implicit conversion that takes place in the comparison between 'result' and the max value, which will result in a change of value for the cast operand. This is expected, therefore explicitly cast the said constants in order to make clear the intent and prevent such warnings from popping up in the future. Bug: webrtc:10893 Change-Id: Icb5cde84d1a5c7b5e4f4cd4b7b923de894cede87 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173140 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31041}
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.
Authoritative list of directories that contain the native API header files.