summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/C/LzmaCompress/LzmaCompress.c
diff options
context:
space:
mode:
authorLiu, WeiX C <weix.c.liu@intel.com>2021-01-05 14:14:02 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-08 10:03:53 +0000
commit4e38bb607a75f9e7846a6cf8d04e451cf19c2d8b (patch)
treed58c574caed55721ae18844967736a9238f00a58 /BaseTools/Source/C/LzmaCompress/LzmaCompress.c
parent1d3d5e3256018476e37ed6621fecbdbcfb2da58e (diff)
downloadedk2-4e38bb607a75f9e7846a6cf8d04e451cf19c2d8b.tar.gz
edk2-4e38bb607a75f9e7846a6cf8d04e451cf19c2d8b.tar.bz2
edk2-4e38bb607a75f9e7846a6cf8d04e451cf19c2d8b.zip
BaseTools LzmaCompress: Update LZMA to new 19.00 version
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3101 New formal release in https://www.7-zip.org/sdk.html is 19.00. Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Wei Liu <weix.c.liu@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'BaseTools/Source/C/LzmaCompress/LzmaCompress.c')
-rw-r--r--BaseTools/Source/C/LzmaCompress/LzmaCompress.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/BaseTools/Source/C/LzmaCompress/LzmaCompress.c b/BaseTools/Source/C/LzmaCompress/LzmaCompress.c
index bebdb9aa84..bf4706ee23 100644
--- a/BaseTools/Source/C/LzmaCompress/LzmaCompress.c
+++ b/BaseTools/Source/C/LzmaCompress/LzmaCompress.c
@@ -1,9 +1,9 @@
/** @file
LZMA Compress/Decompress tool (LzmaCompress)
- Based on LZMA SDK 18.05:
+ Based on LZMA SDK 19.00:
LzmaUtil.c -- Test application for LZMA compression
- 2018-04-30 : Igor Pavlov : Public domain
+ 2019-02-21 : Igor Pavlov : Public domain
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -39,7 +39,7 @@ const char *kCantAllocateMessage = "Can not allocate memory";
const char *kDataErrorMessage = "Data error";
const char *kInvalidParamValMessage = "Invalid parameter value";
-static Bool mQuietMode = False;
+static BoolInt mQuietMode = False;
static CONVERTER_TYPE mConType = NoConverter;
UINT64 mDictionarySize = 28;
@@ -244,7 +244,7 @@ int main2(int numArgs, const char *args[], char *rs)
CFileOutStream outStream;
int res;
int encodeMode = 0;
- Bool modeWasSet = False;
+ BoolInt modeWasSet = False;
const char *inputFile = NULL;
const char *outputFile = "file.tmp";
int param;