Bug 1581964: Cast this constant (which is just 1) to an unsigned before left-shifting it. r=mjf

Differential Revision: https://phabricator.services.mozilla.com/D46478

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Byron Campen [:bwc] 2019-09-19 15:38:18 +00:00
parent d4a3067072
commit c1963a1155

View File

@ -1480,7 +1480,7 @@ sdp_result_e sdp_parse_attr_fmtp (sdp_t *sdp_p, sdp_attr_t *attr_p,
for (i = low_val; i <= high_val; i++) {
mapword = i/SDP_NE_BITS_PER_WORD;
bmap = SDP_NE_BIT_0 << (i%32);
bmap = ((unsigned)SDP_NE_BIT_0) << (i%32);
fmtp_p->bmap[mapword] |= bmap;
}
if (high_val > fmtp_p->maxval) {