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

Unified Diff: webrtc/common_audio/real_fourier.cc

Issue 1168753002: Match existing type usage better. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 months 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/common_audio/real_fourier.cc
diff --git a/webrtc/common_audio/real_fourier.cc b/webrtc/common_audio/real_fourier.cc
index 30c8ee397d9473b52fed9d64ab79da0cc60e9c0d..cb707e45803f3cfc1060cb8898b14a6529b2bc50 100644
--- a/webrtc/common_audio/real_fourier.cc
+++ b/webrtc/common_audio/real_fourier.cc
@@ -31,7 +31,7 @@ rtc::scoped_ptr<RealFourier> RealFourier::Create(int fft_order) {
int RealFourier::FftOrder(int length) {
CHECK_GT(length, 0);
- return WebRtcSpl_GetSizeInBits(length - 1);
+ return WebRtcSpl_GetSizeInBits(static_cast<uint32_t>(length - 1));
}
int RealFourier::FftLength(int order) {
« no previous file with comments | « webrtc/common_audio/lapped_transform_unittest.cc ('k') | webrtc/common_audio/signal_processing/auto_correlation.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698