Index: webrtc/modules/audio_device/android/audio_record_jni.cc |
diff --git a/webrtc/modules/audio_device/android/audio_record_jni.cc b/webrtc/modules/audio_device/android/audio_record_jni.cc |
index 637f5f827b8be8c81d90028c9b498059f15687ac..fcc1e972a1058ebb66d6cf89cd8d2b3056827f43 100644 |
--- a/webrtc/modules/audio_device/android/audio_record_jni.cc |
+++ b/webrtc/modules/audio_device/android/audio_record_jni.cc |
@@ -126,7 +126,8 @@ int32_t AudioRecordJni::InitRecording() { |
ALOGD("frames_per_buffer: %d", frames_per_buffer_); |
CHECK_EQ(direct_buffer_capacity_in_bytes_, |
frames_per_buffer_ * kBytesPerFrame); |
- CHECK_EQ(frames_per_buffer_, audio_parameters_.frames_per_10ms_buffer()); |
+ CHECK_EQ(frames_per_buffer_, |
+ static_cast<int>(audio_parameters_.frames_per_10ms_buffer())); |
initialized_ = true; |
return 0; |
} |