diff --git a/src/arch/arm/pauth_helpers.cc b/src/arch/arm/pauth_helpers.cc index 1c83d77b8c..c88795f0f8 100644 --- a/src/arch/arm/pauth_helpers.cc +++ b/src/arch/arm/pauth_helpers.cc @@ -706,7 +706,7 @@ ArmISA::addPACGA(ThreadContext * tc, uint64_t X, uint64_t Y, uint64_t* out) { case EL0: trapEL2 = (EL2Enabled(tc) && hcr.api == 0 && - (hcr.tge == '0' || hcr.e2h == 0)); + (hcr.tge == 0 || hcr.e2h == 0)); trapEL3 = have_el3 && sc3.api == 0; break; case EL1: