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

Unified Diff: webrtc/modules/audio_processing/ns/nsx_core_mips.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/modules/audio_processing/ns/ns_core.c ('k') | webrtc/modules/utility/source/coder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/ns/nsx_core_mips.c
diff --git a/webrtc/modules/audio_processing/ns/nsx_core_mips.c b/webrtc/modules/audio_processing/ns/nsx_core_mips.c
index be65c25ccafa6e3cb09247002ef86b2d3cd266fe..0e4b28f421e0c2feebc0c24dffb054cb4cd0eabb 100644
--- a/webrtc/modules/audio_processing/ns/nsx_core_mips.c
+++ b/webrtc/modules/audio_processing/ns/nsx_core_mips.c
@@ -758,7 +758,7 @@ void WebRtcNsx_PrepareSpectrum_mips(NoiseSuppressionFixedC* inst,
int16_t *imag = inst->imag;
int32_t loop_count = 2;
int16_t tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6;
- int16_t tmp16 = (inst->anaLen << 1) - 4;
+ int16_t tmp16 = (int16_t)(inst->anaLen << 1) - 4;
int16_t* freq_buf_f = freq_buf;
int16_t* freq_buf_s = &freq_buf[tmp16];
« no previous file with comments | « webrtc/modules/audio_processing/ns/ns_core.c ('k') | webrtc/modules/utility/source/coder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698