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]; |