]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add data type convert action to avoid warning.
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 4 May 2011 03:40:43 +0000 (03:40 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 4 May 2011 03:40:43 +0000 (03:40 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11617 6f19259b-4bc3-4df7-8a09-765794883524

OptionRomPkg/Application/BltLibSample/BltLibSample.c

index 29f270c3f49d57616ccbef5631ad83c417647fd7..c21eb7a49cb8a43eba83c8d33cdb0033d4d44af4 100644 (file)
@@ -58,7 +58,7 @@ Rand32 (
       Bits = Bits - 1;\r
     }\r
     R32 = (UINT32)((R32 << Bits) |\r
-                   RShiftU64 (LShiftU64 (TscBits, 64 - Bits), 64 - Bits));\r
+                   RShiftU64 (LShiftU64 (TscBits, (UINTN) (64 - Bits)), (UINTN) (64 - Bits)));\r
     Found = Found + Bits;\r
   } while (Found < 32);\r
 \r