X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OptionRomPkg%2FLibrary%2FFrameBufferBltLib%2FFrameBufferBltLib.c;h=5bb3cfbb28c0fa87ec88459e2150081b89d4bbac;hp=dd54b0799b26676542d7c5b530b7b7174b0296a5;hb=f057c25bc2955d49e8b98bece1262240f10d4f1b;hpb=e5e1d2e2706d798fc7e7b541f4c1662908f9787f 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 =