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

Unified Diff: webrtc/common_audio/signal_processing/get_scaling_square.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
Index: webrtc/common_audio/signal_processing/get_scaling_square.c
diff --git a/webrtc/common_audio/signal_processing/get_scaling_square.c b/webrtc/common_audio/signal_processing/get_scaling_square.c
index 9b6049c24fe63ffe96be24a243c86b5e8f62a765..3b9171d4143f8abfe52b87e6ee590233c4914316 100644
--- a/webrtc/common_audio/signal_processing/get_scaling_square.c
+++ b/webrtc/common_audio/signal_processing/get_scaling_square.c
@@ -21,7 +21,7 @@ int16_t WebRtcSpl_GetScalingSquare(int16_t* in_vector,
int in_vector_length,
int times)
{
- int16_t nbits = WebRtcSpl_GetSizeInBits(times);
+ int16_t nbits = WebRtcSpl_GetSizeInBits((uint32_t)times);
int i;
int16_t smax = -1;
int16_t sabs;

Powered by Google App Engine
This is Rietveld 408576698