mirror of https://github.com/acidanthera/audk.git
ShellPkg/UefiShellAcpiViewCommandLib: Fix VS2012 build failure
Fix following build error: xxx\AcpiParser.c(487) : error C2275: 'UINTN' : illegal use of this type as an expression xxx\ProcessorBind.h(224) : see declaration of 'UINTN' xxx\AcpiParser.c(487) : error C2146: syntax error : missing ';' before identifier 'OriginalAttribute' xxx\AcpiParser.c(487) : error C2065: 'OriginalAttribute' : undeclared identifier ...... cc: Alexei Fedorov <Alexei.Fedorov@arm.com> cc: Ruiyu Ni <ruiyu.ni@intel.com> cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
parent
6d9a0a9420
commit
ed8746801e
|
@ -476,6 +476,7 @@ ParseAcpi (
|
|||
UINT32 Index;
|
||||
UINT32 Offset;
|
||||
BOOLEAN HighLight;
|
||||
UINTN OriginalAttribute;
|
||||
|
||||
Offset = 0;
|
||||
|
||||
|
@ -484,7 +485,6 @@ ParseAcpi (
|
|||
|
||||
if (Trace && (AsciiName != NULL)){
|
||||
HighLight = GetColourHighlighting ();
|
||||
UINTN OriginalAttribute;
|
||||
|
||||
if (HighLight) {
|
||||
OriginalAttribute = gST->ConOut->Mode->Attribute;
|
||||
|
|
Loading…
Reference in New Issue