Index: webrtc/common_audio/wav_file.cc |
diff --git a/webrtc/common_audio/wav_file.cc b/webrtc/common_audio/wav_file.cc |
index 572c94ba3d25480ca9f186f013705d1942b68bac..2b9098a6cddd153741b7f1e4f6b82c50e4a69010 100644 |
--- a/webrtc/common_audio/wav_file.cc |
+++ b/webrtc/common_audio/wav_file.cc |
@@ -123,7 +123,7 @@ WavWriter::WavWriter(const std::string& filename, int sample_rate, |
// Write a blank placeholder header, since we need to know the total number |
// of samples before we can fill in the real data. |
static const uint8_t blank_header[kWavHeaderSize] = {0}; |
- RTC_CHECK_EQ(1u, fwrite(blank_header, kWavHeaderSize, 1, file_handle_)); |
+ RTC_CHECK_EQ(1, fwrite(blank_header, kWavHeaderSize, 1, file_handle_)); |
} |
WavWriter::~WavWriter() { |
@@ -168,7 +168,7 @@ void WavWriter::Close() { |
uint8_t header[kWavHeaderSize]; |
WriteWavHeader(header, num_channels_, sample_rate_, kWavFormat, |
kBytesPerSample, num_samples_); |
- RTC_CHECK_EQ(1u, fwrite(header, kWavHeaderSize, 1, file_handle_)); |
+ RTC_CHECK_EQ(1, fwrite(header, kWavHeaderSize, 1, file_handle_)); |
RTC_CHECK_EQ(0, fclose(file_handle_)); |
file_handle_ = NULL; |
} |