missing parens

pull/8738/head
paul-szczepanek-arm 2018-11-08 14:30:12 +00:00 committed by Vincent Coubard
parent 060d2f5216
commit a5e1bdb97e
1 changed files with 2 additions and 2 deletions

View File

@ -488,7 +488,7 @@ private:
uint8_t byte = bit_number / 8;
uint8_t bit = bit_number - byte;
bytes += byte;
*bytes |= 0x01 >> bit;
*bytes |= (0x01 >> bit);
return true;
}
@ -499,7 +499,7 @@ private:
uint8_t byte = bit_number / 8;
uint8_t bit = bit_number - byte;
bytes += byte
*bytes &= 0x00 >> bit;
*bytes &= (0x00 >> bit);
return true;
}
};