diff options
Diffstat (limited to 'ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c')
-rw-r--r-- | ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c index 0df4ceb1cb..3afef4bf9a 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c @@ -200,7 +200,7 @@ LibSetTime ( }
}
- EpochSeconds = EfiTimeToEpoch (Time);
+ EpochSeconds = (UINT32)EfiTimeToEpoch (Time);
// Adjust for the correct time zone, i.e. convert to UTC time zone
// The timezone setting also reflects the DST setting of the clock
|