audk/ArmPlatformPkg
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
..
Drivers ArmPlatformPkg: Fix Ecc error 10014 in SP805WatchdogDxe 2020-12-09 15:32:12 +00:00
Include/Library ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
Library ArmPlatformPkg/PL031RealTimeClockLib: cast EfiTimeToEpoch() val. to UINT32 2020-12-21 15:55:16 +00:00
MemoryInitPei ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
PlatformPei ArmPlatformPkg: Fix various typos 2019-07-04 12:20:52 +01:00
PrePeiCore ArmPlatformPkg/PrePeiCore: replace set/way cache ops with by-VA ones 2020-03-04 17:42:43 +00:00
PrePi ArmPlatformPkg: Fix cspell reported spelling/wording 2020-12-09 15:32:12 +00:00
Scripts ArmPlatformPkg: convert LFs to CRLF, expand hard TABs 2020-03-04 12:22:07 +00:00
ArmPlatformPkg.dec ArmPlatformPkg: remove PL180 SD controller driver 2020-05-05 15:37:20 +00:00
ArmPlatformPkg.dsc ArmPlatformPkg: Fix cspell reported spelling/wording 2020-12-09 15:32:12 +00:00