[codec,rfx] fix shift bitwidth warnings

This commit is contained in:
Armin Novak 2023-07-28 10:07:13 +02:00 committed by akallabeth
parent 4fef924531
commit c4528d58bc
1 changed files with 2 additions and 1 deletions

View File

@ -225,7 +225,8 @@ int rfx_rlgr_decode(RLGR_MODE mode, const BYTE* pSrcData, UINT32 SrcSize, INT16*
while (vk--)
{
run += (1 << k); /* add (1 << k) to run length */
const UINT32 add = (1 << k); /* add (1 << k) to run length */
run += add;
/* update k, kp params */