summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2018-07-30 09:31:36 +0800
committerEric Dong <eric.dong@intel.com>2018-08-01 09:00:40 +0800
commite6f958d15d710da19dca3fb38943d83f1b3532d6 (patch)
tree9feb98817c31f121f2791ff60476e87393ea92da /ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
parented8746801e0d9a5fc5fec006efdedac1c09e7bbf (diff)
downloadedk2-e6f958d15d710da19dca3fb38943d83f1b3532d6.tar.gz
edk2-e6f958d15d710da19dca3fb38943d83f1b3532d6.tar.bz2
edk2-e6f958d15d710da19dca3fb38943d83f1b3532d6.zip
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>
Diffstat (limited to 'ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c')
-rw-r--r--ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
index 630c41b71d..18c4983e95 100644
--- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
+++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c
@@ -516,7 +516,7 @@ ParseAcpi (
IncrementErrorCount ();
Print (
L"\nERROR: %a: Offset Mismatch for %s\n"
- "CurrentOffset = %d FieldOffset = %d\n",
+ L"CurrentOffset = %d FieldOffset = %d\n",
AsciiName,
Parser[Index].NameStr,
Offset,