Index: webrtc/modules/audio_coding/codecs/cng/webrtc_cng.c |
diff --git a/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.c b/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.c |
index 9862f125371d025538f83a721668ab6e8b158e36..cb7aa4567d4f3f93978f4cb6ba76aad199588baa 100644 |
--- a/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.c |
+++ b/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.c |
@@ -370,7 +370,7 @@ int16_t WebRtcCng_Encode(CNG_enc_inst* cng_inst, int16_t* speech, |
} |
if ((i == 93) && (index == 0)) |
index = 94; |
- SIDdata[0] = index; |
+ SIDdata[0] = (uint8_t)index; |
/* Quantize coefficients with tweak for WebRtc implementation of RFC3389. */ |
if (inst->enc_nrOfCoefs == WEBRTC_CNG_MAX_LPC_ORDER) { |