MdeModulePkg/EbcDxe: Avoid Non-Boolean type used as Boolean
Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Pete Batard <pete@akeo.ie> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Jiewen.yao@intel.com
This commit is contained in:
@@ -2987,7 +2987,7 @@ ExecuteCALL (
|
||||
Opcode = GETOPCODE (VmPtr);
|
||||
Operands = GETOPERANDS (VmPtr);
|
||||
|
||||
if (Operands & OPERAND_M_NATIVE_CALL) {
|
||||
if ((Operands & OPERAND_M_NATIVE_CALL) != 0) {
|
||||
EbcDebuggerHookCALLEXStart (VmPtr);
|
||||
} else {
|
||||
EbcDebuggerHookCALLStart (VmPtr);
|
||||
@@ -3094,7 +3094,7 @@ ExecuteCALL (
|
||||
}
|
||||
}
|
||||
|
||||
if (Operands & OPERAND_M_NATIVE_CALL) {
|
||||
if ((Operands & OPERAND_M_NATIVE_CALL) != 0) {
|
||||
EbcDebuggerHookCALLEXEnd (VmPtr);
|
||||
} else {
|
||||
EbcDebuggerHookCALLEnd (VmPtr);
|
||||
|
Reference in New Issue
Block a user