arch: xtensa: Fix 10.4 violations

Both operands of an operator in which the usual arithmetic
conversions are performed shall have the same essential
type category.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2021-04-02 22:49:29 -07:00 committed by Anas Nashif
commit abb1bbe6b1

View file

@ -230,5 +230,5 @@ int z_xtensa_irq_is_enabled(unsigned int irq)
__asm__ volatile("rsr.intenable %0" : "=r"(ie)); __asm__ volatile("rsr.intenable %0" : "=r"(ie));
return (ie & (1 << irq)) != 0; return (ie & (1 << irq)) != 0U;
} }