]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
remove CatSPrint from ShellPkg.
[mirror_edk2.git] / EmbeddedPkg / EmbeddedMonotonicCounter / EmbeddedMonotonicCounter.c
index 66ebe67a92ee537e895b8593fac1ed6b761c2dda..21397dcebcf078ea6c113554ead9f2475d361b56 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
 \r
-  Copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
   \r
-  All rights reserved. This program and the accompanying materials\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -49,7 +49,7 @@ GetNextHighMonotonicCount (
   \r
   gCurrentMonotonicCount += 0x0000000100000000ULL;\r
   \r
-  *HighCount = RShiftU64 (gCurrentMonotonicCount, 32) & 0xFFFFFFFF;\r
+  *HighCount = (UINT32)RShiftU64 (gCurrentMonotonicCount, 32) & 0xFFFFFFFF;\r
 \r
   return EFI_SUCCESS;\r
 }\r