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:
ydong10 2011-05-04 03:40:43 +00:00
parent 31c21fd3d2
commit ef73b0a612
1 changed files with 1 additions and 1 deletions

View File

@ -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);