]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/UefiShellAcpiViewCommandLib: Fix VS tool chain build failure
authorDandan Bi <dandan.bi@intel.com>
Mon, 28 Jan 2019 01:43:54 +0000 (09:43 +0800)
committerEric Dong <eric.dong@intel.com>
Tue, 29 Jan 2019 01:18:53 +0000 (09:18 +0800)
commitf34b38fae614c096d9c6afdc02b8448ff38134cd
treea85420933331b585c6dd0aee650606d76f85a418
parent66509f90fc6636f22e4ea9d6d11655b2f9268b91
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>
ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c