Skip to content

Commit

Permalink
Backport TianoDecompress fix for Xcode (https://bugzilla.tianocore.or…
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed May 4, 2018
1 parent 086bbbd commit d666ca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/Tiano/EfiTianoDecompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ Returns: (VOID)
--*/
{
Sd->mBitBuf = (UINT32)(Sd->mBitBuf << NumOfBits);
Sd->mBitBuf = (UINT32) (((UINT64)Sd->mBitBuf) << NumOfBits);

while (NumOfBits > Sd->mBitCount) {
Sd->mBitBuf |= (UINT32)(Sd->mSubBitBuf << (NumOfBits = (UINT16)(NumOfBits - Sd->mBitCount)));
Sd->mBitBuf |= (UINT32) (((UINT64)Sd->mSubBitBuf) << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount)));

if (Sd->mCompSize > 0) {
//
Expand Down

0 comments on commit d666ca1

Please sign in to comment.