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 66ebe67..8b2e8b0 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