From 366219abde17df91986cea33d9ea198cd9d12f03 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 13 May 2008 09:07:59 +0000 Subject: Fix the prediction warnings in EBC. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5195 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/EbcDxe/Ia32/EbcSupport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal/EbcDxe/Ia32') diff --git a/MdeModulePkg/Universal/EbcDxe/Ia32/EbcSupport.c b/MdeModulePkg/Universal/EbcDxe/Ia32/EbcSupport.c index 11fa4e6659..787f5ee885 100644 --- a/MdeModulePkg/Universal/EbcDxe/Ia32/EbcSupport.c +++ b/MdeModulePkg/Universal/EbcDxe/Ia32/EbcSupport.c @@ -494,7 +494,7 @@ EbcCreateThunks ( // Stick in a load of ecx with the address of appropriate VM function. // mov ecx 12345678h => 0xB9 0x78 0x56 0x34 0x12 // - if (Flags & FLAG_THUNK_ENTRY_POINT) { + if ((Flags & FLAG_THUNK_ENTRY_POINT) != 0) { Addr = (UINT32) (UINTN) ExecuteEbcImageEntryPoint; } else { Addr = (UINT32) (UINTN) EbcInterpret; -- cgit v1.2.3