Index: webrtc/modules/audio_coding/codecs/isac/main/source/isac.c |
diff --git a/webrtc/modules/audio_coding/codecs/isac/main/source/isac.c b/webrtc/modules/audio_coding/codecs/isac/main/source/isac.c |
index 7a51a1e29212702f2bc7c3bd085a7646a02c1405..ac211e9a2c2429667a494d9fadf1deb4ca260546 100644 |
--- a/webrtc/modules/audio_coding/codecs/isac/main/source/isac.c |
+++ b/webrtc/modules/audio_coding/codecs/isac/main/source/isac.c |
@@ -750,7 +750,8 @@ int WebRtcIsac_Encode(ISACStruct* ISAC_main_inst, |
streamLenUB + garbageLen, &crc); |
#ifndef WEBRTC_ARCH_BIG_ENDIAN |
for (k = 0; k < LEN_CHECK_SUM_WORD8; k++) { |
- encoded[streamLen - LEN_CHECK_SUM_WORD8 + k] = crc >> (24 - k * 8); |
+ encoded[streamLen - LEN_CHECK_SUM_WORD8 + k] = |
+ (uint8_t)(crc >> (24 - k * 8)); |
} |
#else |
memcpy(&encoded[streamLenLB + streamLenUB + 1], &crc, LEN_CHECK_SUM_WORD8); |