| Index: webrtc/voice_engine/channel.cc
 | 
| diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
 | 
| index 7bf74d93a500beee98f1a8a204356fd1f4db6a55..10a540f9c2c9651f560c2db8c822748b567ee65f 100644
 | 
| --- a/webrtc/voice_engine/channel.cc
 | 
| +++ b/webrtc/voice_engine/channel.cc
 | 
| @@ -341,12 +341,12 @@ Channel::OnInitializeDecoder(
 | 
|      int8_t payloadType,
 | 
|      const char payloadName[RTP_PAYLOAD_NAME_SIZE],
 | 
|      int frequency,
 | 
| -    uint8_t channels,
 | 
| +    size_t channels,
 | 
|      uint32_t rate)
 | 
|  {
 | 
|      WEBRTC_TRACE(kTraceInfo, kTraceVoice, VoEId(_instanceId,_channelId),
 | 
|                   "Channel::OnInitializeDecoder(id=%d, payloadType=%d, "
 | 
| -                 "payloadName=%s, frequency=%u, channels=%u, rate=%u)",
 | 
| +                 "payloadName=%s, frequency=%u, channels=%" PRIuS ", rate=%u)",
 | 
|                   id, payloadType, payloadName, frequency, channels, rate);
 | 
|  
 | 
|      assert(VoEChannelId(id) == _channelId);
 | 
| @@ -384,7 +384,7 @@ Channel::OnReceivedPayloadData(const uint8_t* payloadData,
 | 
|  {
 | 
|      WEBRTC_TRACE(kTraceStream, kTraceVoice, VoEId(_instanceId,_channelId),
 | 
|                   "Channel::OnReceivedPayloadData(payloadSize=%" PRIuS ","
 | 
| -                 " payloadType=%u, audioChannel=%u)",
 | 
| +                 " payloadType=%u, audioChannel=%" PRIuS ")",
 | 
|                   payloadSize,
 | 
|                   rtpHeader->header.payloadType,
 | 
|                   rtpHeader->type.Audio.channel);
 | 
| @@ -981,8 +981,8 @@ Channel::Init()
 | 
|          {
 | 
|              WEBRTC_TRACE(kTraceWarning, kTraceVoice,
 | 
|                           VoEId(_instanceId,_channelId),
 | 
| -                         "Channel::Init() unable to register %s (%d/%d/%d/%d) "
 | 
| -                         "to RTP/RTCP receiver",
 | 
| +                         "Channel::Init() unable to register %s "
 | 
| +                         "(%d/%d/%" PRIuS "/%d) to RTP/RTCP receiver",
 | 
|                           codec.plname, codec.pltype, codec.plfreq,
 | 
|                           codec.channels, codec.rate);
 | 
|          }
 | 
| @@ -990,8 +990,8 @@ Channel::Init()
 | 
|          {
 | 
|              WEBRTC_TRACE(kTraceInfo, kTraceVoice,
 | 
|                           VoEId(_instanceId,_channelId),
 | 
| -                         "Channel::Init() %s (%d/%d/%d/%d) has been added to "
 | 
| -                         "the RTP/RTCP receiver",
 | 
| +                         "Channel::Init() %s (%d/%d/%" PRIuS "/%d) has been "
 | 
| +                         "added to the RTP/RTCP receiver",
 | 
|                           codec.plname, codec.pltype, codec.plfreq,
 | 
|                           codec.channels, codec.rate);
 | 
|          }
 | 
| @@ -1489,7 +1489,7 @@ Channel::SetSendCNPayloadType(int type, PayloadFrequencies frequency)
 | 
|  
 | 
|      CodecInst codec;
 | 
|      int32_t samplingFreqHz(-1);
 | 
| -    const int kMono = 1;
 | 
| +    const size_t kMono = 1;
 | 
|      if (frequency == kFreq32000Hz)
 | 
|          samplingFreqHz = 32000;
 | 
|      else if (frequency == kFreq16000Hz)
 | 
| @@ -3337,7 +3337,7 @@ Channel::Demultiplex(const AudioFrame& audioFrame)
 | 
|  void Channel::Demultiplex(const int16_t* audio_data,
 | 
|                            int sample_rate,
 | 
|                            size_t number_of_frames,
 | 
| -                          int number_of_channels) {
 | 
| +                          size_t number_of_channels) {
 | 
|    CodecInst codec;
 | 
|    GetSendCodec(codec);
 | 
|  
 | 
| @@ -3887,7 +3887,7 @@ Channel::InsertInbandDtmfTone()
 | 
|              sample < _audioFrame.samples_per_channel_;
 | 
|              sample++)
 | 
|          {
 | 
| -            for (int channel = 0;
 | 
| +            for (size_t channel = 0;
 | 
|                  channel < _audioFrame.num_channels_;
 | 
|                  channel++)
 | 
|              {
 | 
| @@ -4000,7 +4000,8 @@ Channel::RegisterReceiveCodecsToRTPModule()
 | 
|                           kTraceVoice,
 | 
|                           VoEId(_instanceId, _channelId),
 | 
|                           "Channel::RegisterReceiveCodecsToRTPModule() unable"
 | 
| -                         " to register %s (%d/%d/%d/%d) to RTP/RTCP receiver",
 | 
| +                         " to register %s (%d/%d/%" PRIuS "/%d) to RTP/RTCP "
 | 
| +                         "receiver",
 | 
|                           codec.plname, codec.pltype, codec.plfreq,
 | 
|                           codec.channels, codec.rate);
 | 
|          }
 | 
| @@ -4011,7 +4012,7 @@ Channel::RegisterReceiveCodecsToRTPModule()
 | 
|                           kTraceVoice,
 | 
|                           VoEId(_instanceId, _channelId),
 | 
|                           "Channel::RegisterReceiveCodecsToRTPModule() %s "
 | 
| -                         "(%d/%d/%d/%d) has been added to the RTP/RTCP "
 | 
| +                         "(%d/%d/%" PRIuS "/%d) has been added to the RTP/RTCP "
 | 
|                           "receiver",
 | 
|                           codec.plname, codec.pltype, codec.plfreq,
 | 
|                           codec.channels, codec.rate);
 | 
| 
 |