]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c
ArmPlatformPkg: use UINT32 epoch second counter
[mirror_edk2.git] / ArmPlatformPkg / Library / PL031RealTimeClockLib / PL031RealTimeClockLib.c
index 5d5495503d18cf480e17b26897452b79f1e2ec1a..b630a5cfbfcdcc792719976950be87d34377264f 100644 (file)
@@ -3,6 +3,7 @@
 \r
   Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r
   Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>\r
+  Copyright (c) 2019, Linaro Ltd. All rights reserved.<BR>\r
 \r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
@@ -181,7 +182,7 @@ LibSetTime (
   )\r
 {\r
   EFI_STATUS  Status;\r
-  UINT      EpochSeconds;\r
+  UINT32      EpochSeconds;\r
 \r
   // Because the PL031 is a 32-bit counter counting seconds,\r
   // the maximum time span is just over 136 years.\r