diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-07 22:35:34 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-07 22:35:34 +0000 |
commit | 15a2944afc76da6f3ea37fa6295937ec7a785bc5 (patch) | |
tree | 240db8675f69adb51a329c8d31af78849f7dd24b /DuetPkg/EfiLdr | |
parent | e6ab7ead9932f286e85b8306cc820adf38b92740 (diff) | |
download | edk2-15a2944afc76da6f3ea37fa6295937ec7a785bc5.tar.gz edk2-15a2944afc76da6f3ea37fa6295937ec7a785bc5.tar.bz2 edk2-15a2944afc76da6f3ea37fa6295937ec7a785bc5.zip |
Use BIT8-1 instead of UINT8_MAX.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6895 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/EfiLdr')
-rw-r--r-- | DuetPkg/EfiLdr/TianoDecompress.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/DuetPkg/EfiLdr/TianoDecompress.c b/DuetPkg/EfiLdr/TianoDecompress.c index cac9938146..f2f37bd448 100644 --- a/DuetPkg/EfiLdr/TianoDecompress.c +++ b/DuetPkg/EfiLdr/TianoDecompress.c @@ -26,7 +26,6 @@ Abstract: #define MAXMATCH 256
#define THRESHOLD 3
#define CODE_BIT 16
-#define UINT8_MAX 0xff
#define BAD_TABLE - 1
//
@@ -614,7 +613,7 @@ Returns: (VOID) //
// Process a Pointer
//
- CharC = (UINT16) (CharC - (UINT8_MAX + 1 - THRESHOLD));
+ CharC = (UINT16) (CharC - (BIT8 - THRESHOLD));
BytesRemain = CharC;
|