mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 12:04:38 +00:00
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:
parent
d4a3067072
commit
c1963a1155
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user