Chromium Code Reviews| Index: webrtc/modules/audio_coding/main/test/PCMFile.cc | 
| diff --git a/webrtc/modules/audio_coding/main/test/PCMFile.cc b/webrtc/modules/audio_coding/main/test/PCMFile.cc | 
| index 4f46098a7bd837237f837bcda38cfd6586eebf3a..56af08475163117ee40b9cc686c4b7c5ea3304ff 100644 | 
| --- a/webrtc/modules/audio_coding/main/test/PCMFile.cc | 
| +++ b/webrtc/modules/audio_coding/main/test/PCMFile.cc | 
| @@ -150,7 +150,7 @@ void PCMFile::Write10MsData(AudioFrame& audio_frame) { | 
| } | 
| } else { | 
| int16_t* stereo_audio = new int16_t[2 * audio_frame.samples_per_channel_]; | 
| - int k; | 
| + size_t k; | 
| for (k = 0; k < audio_frame.samples_per_channel_; k++) { | 
| 
 
kwiberg-webrtc
2015/07/12 17:39:26
Merge lines 153 and 154 while you're at it?
 
Peter Kasting
2015/07/13 02:46:26
I'm willing to add that to the misc. cleanup chang
 
 | 
| stereo_audio[k << 1] = audio_frame.data_[k]; | 
| stereo_audio[(k << 1) + 1] = audio_frame.data_[k]; | 
| @@ -173,7 +173,7 @@ void PCMFile::Write10MsData(AudioFrame& audio_frame) { | 
| } | 
| } | 
| -void PCMFile::Write10MsData(int16_t* playout_buffer, uint16_t length_smpls) { | 
| +void PCMFile::Write10MsData(int16_t* playout_buffer, size_t length_smpls) { | 
| if (fwrite(playout_buffer, sizeof(uint16_t), length_smpls, pcm_file_) != | 
| length_smpls) { | 
| return; |