Skip to content

Commit 1bbf086

Browse files
committed
test
1 parent c68a97e commit 1bbf086

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CPP/7zip/Compress/Balz/BalzRegister.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class Encoder
185185

186186
void Put32(uint x)
187187
{
188-
for (uint i=1<<31; i>0; i>>=1)
188+
for (uint i=1u<<31; i>0; i>>=1)
189189
Encode1(x&i, 1); // p=0.5
190190
}
191191

CPP/7zip/Compress/Bcm/BcmRegister.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ struct CM: Encoder
159159

160160
void Put32(U32 x)
161161
{
162-
for (U32 i=1<<31; i>0; i>>=1)
162+
for (U32 i=1u<<31; i>0; i>>=1)
163163
EncodeBit<1>(x&i, 1); // p=0.5
164164
}
165165

0 commit comments

Comments
 (0)