summaryrefslogtreecommitdiff
path: root/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-17 05:47:13 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-17 05:47:13 +0000
commitf057c25bc2955d49e8b98bece1262240f10d4f1b (patch)
treea1d06a9da896c0cb7d0267daa4bad65505cfeb34 /OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c
parenta49f6a2f7e0d0141519c136905ce70038573ce40 (diff)
downloadedk2-platforms-f057c25bc2955d49e8b98bece1262240f10d4f1b.tar.xz
OptionRomPkg: Fix Visual Studio compiler warnings
These changes fix compiler warnings with Visual Studio 2005. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11545 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c')
-rw-r--r--OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c b/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c
index dd54b0799b..5bb3cfbb28 100644
--- a/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c
+++ b/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c
@@ -615,7 +615,7 @@ BltLibBufferToVideoEx (
BltMemDst = (VOID*) (mBltLibFrameBuffer + Offset);
if (mPixelFormat == PixelBlueGreenRedReserved8BitPerColor) {
- BltMemSrc = (VOID *) (UINT8 *) BltBuffer + (SrcY * Delta);
+ BltMemSrc = (VOID *) ((UINT8 *) BltBuffer + (SrcY * Delta));
} else {
for (X = 0; X < Width; X++) {
Blt =