]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix VS2003 cast
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 30 Jan 2010 20:19:44 +0000 (20:19 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 30 Jan 2010 20:19:44 +0000 (20:19 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9874 6f19259b-4bc3-4df7-8a09-765794883524

EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c

index 66ebe67a92ee537e895b8593fac1ed6b761c2dda..8b2e8b0f9937875c0e31b8c829f3f39fa48149d4 100644 (file)
@@ -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