ShellPkg/UefiShellAcpiViewCommandLib: Fix VS2012 build failure

Fix following build error:
UefiShellAcpiViewCommandLib\AcpiParser.c(519) :
error C2308: concatenating mismatched strings
Concatenating wide "ERROR: %a: Offset Mismatch for %s"
with narrow "CurrentOffset = %d FieldOffset = %d"

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:
Dandan Bi
2018-07-30 09:31:36 +08:00
committed by Eric Dong
parent ed8746801e
commit e6f958d15d
4 changed files with 7 additions and 7 deletions

View File

@ -231,7 +231,7 @@ ParseAcpiMadt (
IncrementErrorCount ();
Print (
L"ERROR: Invalid Interrupt Controller Length,"
" Type = %d, Length = %d\n",
L" Type = %d, Length = %d\n",
*MadtInterruptControllerType,
*MadtInterruptControllerLength
);
@ -256,7 +256,7 @@ ParseAcpiMadt (
IncrementErrorCount ();
Print (
L"ERROR: Only one GICD must be present,"
" GICDCount = %d\n",
L" GICDCount = %d\n",
GICDCount
);
}
@ -311,7 +311,7 @@ ParseAcpiMadt (
IncrementErrorCount ();
Print (
L"ERROR: Unknown Interrupt Controller Structure,"
" Type = %d, Length = %d\n",
L" Type = %d, Length = %d\n",
*MadtInterruptControllerType,
*MadtInterruptControllerLength
);