diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-17 05:47:13 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-17 05:47:13 +0000 |
commit | f057c25bc2955d49e8b98bece1262240f10d4f1b (patch) | |
tree | a1d06a9da896c0cb7d0267daa4bad65505cfeb34 /OptionRomPkg/Library | |
parent | a49f6a2f7e0d0141519c136905ce70038573ce40 (diff) | |
download | edk2-f057c25bc2955d49e8b98bece1262240f10d4f1b.tar.gz |
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')
-rw-r--r-- | OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c | 2 | ||||
-rw-r--r-- | OptionRomPkg/Library/GopBltLib/GopBltLib.c | 2 |
2 files changed, 1 insertions, 3 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 =
diff --git a/OptionRomPkg/Library/GopBltLib/GopBltLib.c b/OptionRomPkg/Library/GopBltLib/GopBltLib.c index 5c353bc483..5a90d9b614 100644 --- a/OptionRomPkg/Library/GopBltLib/GopBltLib.c +++ b/OptionRomPkg/Library/GopBltLib/GopBltLib.c @@ -113,8 +113,6 @@ InternalGopBltCommon ( IN UINTN Delta
)
{
- EFI_STATUS Status;
-
if (mGop == NULL) {
return EFI_DEVICE_ERROR;
}
|