From: andrewfish Date: Sat, 30 Jan 2010 20:19:44 +0000 (+0000) Subject: Fix VS2003 cast X-Git-Tag: edk2-stable201903~16462 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=33e4913c5d57fb55d18d22462573dd96308d8970 Fix VS2003 cast git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9874 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c b/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c index 66ebe67a92..8b2e8b0f99 100644 --- a/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c +++ b/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c @@ -49,7 +49,7 @@ GetNextHighMonotonicCount ( gCurrentMonotonicCount += 0x0000000100000000ULL; - *HighCount = RShiftU64 (gCurrentMonotonicCount, 32) & 0xFFFFFFFF; + *HighCount = (UINT32)RShiftU64 (gCurrentMonotonicCount, 32) & 0xFFFFFFFF; return EFI_SUCCESS; }