mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
e6ab7ead99
commit
15a2944afc
|
@ -26,7 +26,6 @@ Abstract:
|
||||||
#define MAXMATCH 256
|
#define MAXMATCH 256
|
||||||
#define THRESHOLD 3
|
#define THRESHOLD 3
|
||||||
#define CODE_BIT 16
|
#define CODE_BIT 16
|
||||||
#define UINT8_MAX 0xff
|
|
||||||
#define BAD_TABLE - 1
|
#define BAD_TABLE - 1
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -614,7 +613,7 @@ Returns: (VOID)
|
||||||
//
|
//
|
||||||
// Process a Pointer
|
// Process a Pointer
|
||||||
//
|
//
|
||||||
CharC = (UINT16) (CharC - (UINT8_MAX + 1 - THRESHOLD));
|
CharC = (UINT16) (CharC - (BIT8 - THRESHOLD));
|
||||||
|
|
||||||
BytesRemain = CharC;
|
BytesRemain = CharC;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue