MdeModulePkg AcpiTableDxe: Non-Boolean comparisons should use a compare operator.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17675 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Star Zeng 2015-06-19 12:11:01 +00:00 committed by lzeng14
parent 13181dde42
commit de4db4da31

View File

@ -169,7 +169,7 @@ PublishTables (
AcpiTableInstance->TablesInstalled1 = TRUE;
}
if ((Version & ACPI_TABLE_VERSION_GTE_2_0) &&
if (((Version & ACPI_TABLE_VERSION_GTE_2_0) != 0) &&
!AcpiTableInstance->TablesInstalled3) {
Status = gBS->InstallConfigurationTable (&gEfiAcpiTableGuid, AcpiTableInstance->Rsdp3);
if (EFI_ERROR (Status)) {