audk/ArmPlatformPkg/Library
Laszlo Ersek 3af6c521d9 ArmPlatformPkg/PL031RealTimeClockLib: cast EfiTimeToEpoch() val. to UINT32
In preparation for changing EfiTimeToEpoch()'s return type to UINTN, cast
EfiTimeToEpoch()'s retval to UINT32 explicitly, in LibSetTime().

Currently, this is a no-op, and even after widening the retval, it will
make no difference, as LibSetTime() explicitly restricts Time->Year under
2106, given that "the PL031 is a 32-bit counter counting seconds". The
patch is made for preventing compiler warnings.

Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20201221113657.6779-2-lersek@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2020-12-21 15:55:16 +00:00
..
ArmMaliDp ArmPlatformPkg: Add missing header files in INF file 2019-09-13 18:17:14 +01:00
ArmPlatformLibNull ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmPlatformStackLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
HdLcd ArmPlatformPkg: Add missing header files in INF file 2019-09-13 18:17:14 +01:00
LcdHwNullLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
LcdPlatformNullLib ArmPlatformPkg: Fix Ecc error 10016 in LcdPlatformNullLib 2020-12-09 15:32:12 +00:00
NorFlashPlatformNullLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PL011SerialPortLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PL011UartClockLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PL011UartLib ArmPlatformPkg: Fix Ecc error 3002 in PL011UartLib 2020-12-09 15:32:12 +00:00
PL031RealTimeClockLib ArmPlatformPkg/PL031RealTimeClockLib: cast EfiTimeToEpoch() val. to UINT32 2020-12-21 15:55:16 +00:00
PL111Lcd ArmPlatformPkg: Add missing header files in INF file 2019-09-13 18:17:14 +01:00
PrePiHobListPointerLib ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00