summaryrefslogtreecommitdiff
path: root/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c
diff options
context:
space:
mode:
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 =