summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/EmbeddedMonotonicCounter
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-30 20:19:44 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-30 20:19:44 +0000
commit33e4913c5d57fb55d18d22462573dd96308d8970 (patch)
tree6eb22526c3352bf6afaeb2ca8dcc581819045dc3 /EmbeddedPkg/EmbeddedMonotonicCounter
parentab2a68f47eeb75b6d78103eeeb3f889401a53c5a (diff)
downloadedk2-33e4913c5d57fb55d18d22462573dd96308d8970.tar.gz
edk2-33e4913c5d57fb55d18d22462573dd96308d8970.tar.bz2
edk2-33e4913c5d57fb55d18d22462573dd96308d8970.zip
Fix VS2003 cast
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9874 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/EmbeddedMonotonicCounter')
-rw-r--r--EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c2
1 files changed, 1 insertions, 1 deletions
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;
}