webrtc/system_wrappers
mmorrison 9f6ff832d9 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}
2020-04-09 11:43:14 +00:00
..
include Do not trigger -Wimplicit-int-float-conversion 2020-04-09 11:43:14 +00:00
source Move EventWrapper class to target video_coding_legacy. 2020-03-06 08:39:35 +00:00
BUILD.gn Add RTC_EXPORT to webrtc::Clock 2020-03-10 23:00:21 +00:00
DEPS
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00