From 815119f3d95581317847a5288b20c7426c0f45a6 Mon Sep 17 00:00:00 2001 From: jljusten Date: Wed, 13 Oct 2010 07:08:29 +0000 Subject: DuetPkg, MdeModulePkg: Fix several enum comparions These comparisons were not comparing an enum variable with a member of the same enum type. GCC 4.5 generated a warning for these comparison operations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10932 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal') diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c index a9d63d3dc4..6a09de5bd0 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c @@ -535,7 +535,7 @@ ConSplitterUgaDrawBlt ( ); if (EFI_ERROR (Status)) { ReturnStatus = Status; - } else if (BltOperation == EfiBltVideoToBltBuffer) { + } else if (BltOperation == EfiUgaVideoToBltBuffer) { // // Only need to read the data into buffer one time // -- cgit v1.2.3