This commit is contained in:
Igor Pavlov
2021-07-22 23:00:14 +01:00
committed by Kornel
parent 4a960640a3
commit 585698650f
619 changed files with 34904 additions and 10859 deletions

View File

@@ -39,7 +39,7 @@ public:
{
if (numBits < _bitPos)
{
_curByte |= (value & ((1 << numBits) - 1)) << (8 - _bitPos);
_curByte |= (Byte)((value & ((1 << numBits) - 1)) << (8 - _bitPos));
_bitPos -= numBits;
return;
}