summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/VariableAttributes.py
diff options
context:
space:
mode:
authorAlexei <Alexei.Fedorov@arm.com>2016-09-21 21:33:15 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2016-10-11 14:23:46 +0100
commita4bcf0bcdd81285e2ae881db7a51a454f8ab0951 (patch)
treef1c804a3102108141a8292934ef632090be96c3f /BaseTools/Source/Python/Common/VariableAttributes.py
parent2d52a3a237c4294022030d99c82e26f9e58276ad (diff)
downloadedk2-platforms-a4bcf0bcdd81285e2ae881db7a51a454f8ab0951.tar.xz
ArmPlatformPkg: Remove UINTN cast when setting BaudRate.
SerialPortInitialize() set the BaudRate variable (type UINT64) as: BaudRate = (UINTN)FixedPcdGet64 (PcdUartDefaultBaudRate); This commit fixes a potential problem on ARM 32-bit builds, where the UINTN type is defined as UINT32, by removing the cast: BaudRate = FixedPcdGet64 (PcdUartDefaultBaudRate); Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Alexei Fedorov <alexei.fedorov@arm.com> Signed-off-by: Evan Lloyd <evan.lloyd@arm.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Common/VariableAttributes.py')
0 files changed, 0 insertions, 0 deletions