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

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: Attempted test fix 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 dec2be6d60b8e70e63f82b6362051e9b99fa626b..fdc524380f3a13509df9edf2b16fc3709b1173c6 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) {

Powered by Google App Engine
This is Rietveld 408576698