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

Unified Diff: webrtc/common_audio/signal_processing/auto_correlation.c

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
« no previous file with comments | « webrtc/common_audio/real_fourier.cc ('k') | webrtc/common_audio/signal_processing/complex_fft.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/signal_processing/auto_correlation.c
diff --git a/webrtc/common_audio/signal_processing/auto_correlation.c b/webrtc/common_audio/signal_processing/auto_correlation.c
index fed131221898c335df78661566c152c5578c8c29..405a08ecaff527f329e66abd49fbf2155d636e7c 100644
--- a/webrtc/common_audio/signal_processing/auto_correlation.c
+++ b/webrtc/common_audio/signal_processing/auto_correlation.c
@@ -36,7 +36,7 @@ int WebRtcSpl_AutoCorrelation(const int16_t* in_vector,
scaling = 0;
} else {
// Number of bits in the sum loop.
- int nbits = WebRtcSpl_GetSizeInBits(in_vector_length);
+ int nbits = WebRtcSpl_GetSizeInBits((uint32_t)in_vector_length);
// Number of bits to normalize smax.
int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax));
« no previous file with comments | « webrtc/common_audio/real_fourier.cc ('k') | webrtc/common_audio/signal_processing/complex_fft.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698