Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: webrtc/modules/audio_processing/level_controller/level_controller.cc

Issue 2535593002: RTC_[D]CHECK_op: Remove "u" suffix on integer constants (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/level_controller/level_controller.cc
diff --git a/webrtc/modules/audio_processing/level_controller/level_controller.cc b/webrtc/modules/audio_processing/level_controller/level_controller.cc
index b8388e6141bab4520cdc5964a8f98fe20cd0bec9..c625e08eaea50edebf054e3884d9a77078853af4 100644
--- a/webrtc/modules/audio_processing/level_controller/level_controller.cc
+++ b/webrtc/modules/audio_processing/level_controller/level_controller.cc
@@ -208,8 +208,8 @@ void LevelController::Initialize(int sample_rate_hz) {
}
void LevelController::Process(AudioBuffer* audio) {
- RTC_DCHECK_LT(0u, audio->num_channels());
- RTC_DCHECK_GE(2u, audio->num_channels());
+ RTC_DCHECK_LT(0, audio->num_channels());
+ RTC_DCHECK_GE(2, audio->num_channels());
RTC_DCHECK_NE(0.f, dc_forgetting_factor_);
RTC_DCHECK(sample_rate_hz_);
data_dumper_->DumpWav("lc_input", audio->num_frames(),

Powered by Google App Engine
This is Rietveld 408576698