diff options
-rw-r--r-- | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c | 2 |
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;
}
|