ShellPkg/UefiShellAcpiViewCommandLib: Fix VS tool chain build failure

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1491

This patch is to update the data type of variable "Offset"
from UINT8 to UINT32 to fix following build issue.

...\Parsers\Pptt\PpttParser.c(193): error C2220:
warning treated as error - no 'object' file generated
...\Parsers\Pptt\PpttParser.c(193): warning C4244: '=':
conversion from 'UINT32' to 'UINT8', possible loss of data

Cc: Krzysztof Koch <krzysztof.koch@arm.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ray Ni <ray.ni@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 2019-01-28 09:43:54 +08:00 committed by Eric Dong
parent 66509f90fc
commit f34b38fae6
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ DumpProcessorHierarchyNodeStructure (
IN UINT8 Length
)
{
UINT8 Offset;
UINT32 Offset;
UINT8* PrivateResourcePtr;
UINT32 Index;
CHAR16 Buffer[OUTPUT_FIELD_COLUMN_WIDTH];