Fix sign-compare warnings on win_clang

that appear after clang roll at https://webrtc-review.googlesource.com/35741

Bug: None
Change-Id: I31193491f167e21277b9266b4331ea9212fddcbe
Reviewed-on: https://webrtc-review.googlesource.com/35783
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21421}
This commit is contained in:
Oleh Prypin
2017-12-21 16:25:19 +01:00
committed by Commit Bot
parent ad596a487f
commit fd7df98826
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@
#ifndef MODULES_AUDIO_CODING_ACM2_ACM_RECEIVE_TEST_H_
#define MODULES_AUDIO_CODING_ACM2_ACM_RECEIVE_TEST_H_
#include <stddef.h> // for size_t
#include <memory>
#include <string>
@ -30,7 +31,7 @@ class PacketSource;
class AcmReceiveTestOldApi {
public:
enum NumOutputChannels {
enum NumOutputChannels : size_t {
kArbitraryChannels = 0,
kMonoOutput = 1,
kStereoOutput = 2

View File

@ -111,7 +111,7 @@ const uint32_t kMinimumStepDelay = 50;
constexpr int kDefaultMaxIPv6Networks = 5;
// CF = CANDIDATE FILTER
enum {
enum : uint32_t {
CF_NONE = 0x0,
CF_HOST = 0x1,
CF_REFLEXIVE = 0x2,