kwiberg 352444fcac RTC_[D]CHECK_op: Remove superfluous casts
There's no longer any need to make the two arguments have the same
signedness, so we can remove a bunch of superfluous (and sometimes
dangerous) casts.

It turned out I also had to fix the safe_cmp functions to properly handle
enums that are implicitly convertible to integers.

NOPRESUBMIT=true
BUG=webrtc:6645

Review-Url: https://codereview.webrtc.org/2534683002
Cr-Commit-Position: refs/heads/master@{#15281}
2016-11-28 23:59:03 +00:00
..
2016-10-28 12:23:25 +00:00
2015-04-02 10:31:00 +00:00
2016-09-29 00:42:08 +00:00
2016-09-29 00:42:08 +00:00
2016-10-03 11:16:15 +00:00
2016-10-03 11:16:15 +00:00
2016-10-03 11:16:15 +00:00
2016-09-29 00:42:08 +00:00
2015-12-28 22:07:05 +00:00
2015-12-28 22:07:05 +00:00
2016-09-29 00:42:08 +00:00
2015-05-21 11:50:41 +00:00
2015-05-21 11:50:41 +00:00
2016-10-10 18:19:22 +00:00
2015-04-01 22:25:29 +00:00
2016-08-16 13:38:23 +00:00
2016-07-01 20:59:39 +00:00
2016-11-16 19:11:38 +00:00
2016-07-01 10:45:29 +00:00
2016-02-02 16:34:16 +00:00
2016-10-04 13:46:00 +00:00
2015-09-22 18:58:13 +00:00
2016-01-04 21:44:16 +00:00
2016-10-03 07:30:08 +00:00
2016-10-03 07:30:08 +00:00