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 32e28591d71e8569dbc737e8181487b0154ebbcf..1f6974a456250a4b280beeb100fc1b02352233c8 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 @@ int 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) { |