From ef73b0a612e9c276816a08e48d70c78d8133fb8d Mon Sep 17 00:00:00 2001 From: ydong10 Date: Wed, 4 May 2011 03:40:43 +0000 Subject: [PATCH] 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 --- OptionRomPkg/Application/BltLibSample/BltLibSample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OptionRomPkg/Application/BltLibSample/BltLibSample.c b/OptionRomPkg/Application/BltLibSample/BltLibSample.c index 29f270c3f4..c21eb7a49c 100644 --- a/OptionRomPkg/Application/BltLibSample/BltLibSample.c +++ b/OptionRomPkg/Application/BltLibSample/BltLibSample.c @@ -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); -- 2.39.2