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>
IncrementErrorCount ();\r
Print (\r
L"\nERROR: %a: Offset Mismatch for %s\n"\r
IncrementErrorCount ();\r
Print (\r
L"\nERROR: %a: Offset Mismatch for %s\n"\r
- "CurrentOffset = %d FieldOffset = %d\n",\r
+ L"CurrentOffset = %d FieldOffset = %d\n",\r
AsciiName,\r
Parser[Index].NameStr,\r
Offset,\r
AsciiName,\r
Parser[Index].NameStr,\r
Offset,\r
IncrementErrorCount ();\r
Print (\r
L"\nERROR: NamespaceString Length = %d. If no Namespace device exists,\n"\r
IncrementErrorCount ();\r
Print (\r
L"\nERROR: NamespaceString Length = %d. If no Namespace device exists,\n"\r
- " then NamespaceString[] must contain a period '.'",\r
+ L" then NamespaceString[] must contain a period '.'",\r
NameSpaceStrLen\r
);\r
}\r
NameSpaceStrLen\r
);\r
}\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Invalid Interrupt Controller Length,"\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Invalid Interrupt Controller Length,"\r
- " Type = %d, Length = %d\n",\r
+ L" Type = %d, Length = %d\n",\r
*MadtInterruptControllerType,\r
*MadtInterruptControllerLength\r
);\r
*MadtInterruptControllerType,\r
*MadtInterruptControllerLength\r
);\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Only one GICD must be present,"\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Only one GICD must be present,"\r
+ L" GICDCount = %d\n",\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Unknown Interrupt Controller Structure,"\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Unknown Interrupt Controller Structure,"\r
- " Type = %d, Length = %d\n",\r
+ L" Type = %d, Length = %d\n",\r
*MadtInterruptControllerType,\r
*MadtInterruptControllerLength\r
);\r
*MadtInterruptControllerType,\r
*MadtInterruptControllerLength\r
);\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Diagonal Element[0x%lx][0x%lx] (%3d)."\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Diagonal Element[0x%lx][0x%lx] (%3d)."\r
- " Normalized Value is not 10\n",\r
+ L" Normalized Value is not 10\n",\r
Count,\r
Index,\r
SLIT_ELEMENT (LocalityPtr, Count, Index)\r
Count,\r
Index,\r
SLIT_ELEMENT (LocalityPtr, Count, Index)\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Relative distances for Element[0x%lx][0x%lx] (%3d) and \n"\r
IncrementErrorCount ();\r
Print (\r
L"ERROR: Relative distances for Element[0x%lx][0x%lx] (%3d) and \n"\r
- "Element[0x%lx][0x%lx] (%3d) do not match.\n",\r
+ L"Element[0x%lx][0x%lx] (%3d) do not match.\n",\r
Count,\r
Index,\r
SLIT_ELEMENT (LocalityPtr, Count, Index),\r
Count,\r
Index,\r
SLIT_ELEMENT (LocalityPtr, Count, Index),\r