diff --git a/qemu/target/arm/helper.c b/qemu/target/arm/helper.c index 31682b83..2b59d561 100644 --- a/qemu/target/arm/helper.c +++ b/qemu/target/arm/helper.c @@ -623,7 +623,7 @@ static void cpacr_write(CPUARMState *env, const ARMCPRegInfo *ri, if (!arm_feature(env, ARM_FEATURE_NEON)) { /* ASEDIS [31] bit is RAO/WI */ - value |= (1 << 31); + value |= (1UL << 31); } /* VFPv3 and upwards with NEON implement 32 double precision