]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/TianoCompress/TianoCompress.c
Sync basetools' source and binary files with r1707 of the basetools project.
[mirror_edk2.git] / BaseTools / Source / C / TianoCompress / TianoCompress.c
index b3ce640fdec9c11b36f70d6d697252a8bb47ac7b..ef35f1721d19733b0644cca28985cda5e12a58e9 100644 (file)
@@ -84,7 +84,7 @@ STATIC UINT16 *mFreq, *mSortPtr, mLenCnt[17], mLeft[2 * NC - 1], mRight[2 * NC -
 \r
 STATIC NODE   mPos, mMatchPos, mAvail, *mPosition, *mParent, *mPrev, *mNext = NULL;\r
 \r
 \r
 STATIC NODE   mPos, mMatchPos, mAvail, *mPosition, *mParent, *mPrev, *mNext = NULL;\r
 \r
-static  UINT     DebugLevel;\r
+static  UINT64     DebugLevel;\r
 static  BOOLEAN    DebugMode;\r
 //\r
 // functions\r
 static  BOOLEAN    DebugMode;\r
 //\r
 // functions\r
@@ -180,12 +180,11 @@ Returns:
 \r
   if (mCompSize + 1 + 8 > *DstSize) {\r
     *DstSize = mCompSize + 1 + 8;    \r
 \r
   if (mCompSize + 1 + 8 > *DstSize) {\r
     *DstSize = mCompSize + 1 + 8;    \r
-       return EFI_BUFFER_TOO_SMALL;\r
-    } else {\r
+    return EFI_BUFFER_TOO_SMALL;\r
+  } else {\r
     *DstSize = mCompSize + 1 + 8;   \r
     *DstSize = mCompSize + 1 + 8;   \r
-      return EFI_SUCCESS;\r
-   }\r
-  return EFI_SUCCESS;\r
+    return EFI_SUCCESS;\r
+  }\r
 }\r
 \r
 STATIC\r
 }\r
 \r
 STATIC\r