summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/TianoCompress
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-11 03:14:43 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-11 03:14:43 +0000
commitfd171542e0aa89ac12a09d79608173f48019b14b (patch)
treeb4e1320ab3bc1cb59355f9fcbc361f84ae0c4f0a /BaseTools/Source/C/TianoCompress
parentf22911b49e8be58d364f9e21f5af6bd3f0513cf7 (diff)
downloadedk2-fd171542e0aa89ac12a09d79608173f48019b14b.zip
edk2-fd171542e0aa89ac12a09d79608173f48019b14b.tar.gz
edk2-fd171542e0aa89ac12a09d79608173f48019b14b.tar.bz2
Sync basetools' source and binary files with r1707 of the basetools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/C/TianoCompress')
-rw-r--r--BaseTools/Source/C/TianoCompress/TianoCompress.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/BaseTools/Source/C/TianoCompress/TianoCompress.c b/BaseTools/Source/C/TianoCompress/TianoCompress.c
index b3ce640..ef35f17 100644
--- a/BaseTools/Source/C/TianoCompress/TianoCompress.c
+++ b/BaseTools/Source/C/TianoCompress/TianoCompress.c
@@ -84,7 +84,7 @@ STATIC UINT16 *mFreq, *mSortPtr, mLenCnt[17], mLeft[2 * NC - 1], mRight[2 * NC -
STATIC NODE mPos, mMatchPos, mAvail, *mPosition, *mParent, *mPrev, *mNext = NULL;
-static UINTN DebugLevel;
+static UINT64 DebugLevel;
static BOOLEAN DebugMode;
//
// functions
@@ -180,12 +180,11 @@ Returns:
if (mCompSize + 1 + 8 > *DstSize) {
*DstSize = mCompSize + 1 + 8;
- return EFI_BUFFER_TOO_SMALL;
- } else {
+ return EFI_BUFFER_TOO_SMALL;
+ } else {
*DstSize = mCompSize + 1 + 8;
- return EFI_SUCCESS;
- }
- return EFI_SUCCESS;
+ return EFI_SUCCESS;
+ }
}
STATIC