Fix windows compilation.
This commit is contained in:
parent
b45385e8c7
commit
b17ba8b3a7
23 changed files with 85 additions and 53 deletions
|
@ -18,7 +18,7 @@ ByteUtils::Word ByteUtils::GetWordLastByte(const Word word)
|
|||
|
||||
unsigned char ByteUtils::getHigherNBits(unsigned char input, unsigned num)
|
||||
{
|
||||
return input >> 8 - num;
|
||||
return input >> (8 - num);
|
||||
}
|
||||
|
||||
unsigned char ByteUtils::getByteN(uint32_t input, unsigned n)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue