mirror of https://github.com/acidanthera/audk.git
Add data type convert action to avoid warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11617 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
31c21fd3d2
commit
ef73b0a612
|
@ -58,7 +58,7 @@ Rand32 (
|
|||
Bits = Bits - 1;
|
||||
}
|
||||
R32 = (UINT32)((R32 << Bits) |
|
||||
RShiftU64 (LShiftU64 (TscBits, 64 - Bits), 64 - Bits));
|
||||
RShiftU64 (LShiftU64 (TscBits, (UINTN) (64 - Bits)), (UINTN) (64 - Bits)));
|
||||
Found = Found + Bits;
|
||||
} while (Found < 32);
|
||||
|
||||
|
|
Loading…
Reference in New Issue