summaryrefslogtreecommitdiffstats
path: root/OptionRomPkg
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-04 03:40:43 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-04 03:40:43 +0000
commitef73b0a612e9c276816a08e48d70c78d8133fb8d (patch)
tree7e3d527260d716072804942bbc22b6ed14520250 /OptionRomPkg
parent31c21fd3d26ef7be71aeb99a13193ed22fceded5 (diff)
downloadedk2-ef73b0a612e9c276816a08e48d70c78d8133fb8d.tar.gz
edk2-ef73b0a612e9c276816a08e48d70c78d8133fb8d.tar.bz2
edk2-ef73b0a612e9c276816a08e48d70c78d8133fb8d.zip
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
Diffstat (limited to 'OptionRomPkg')
-rw-r--r--OptionRomPkg/Application/BltLibSample/BltLibSample.c2
1 files changed, 1 insertions, 1 deletions
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);