aarch64: defines involving bit shifts should be unsigned

This commit is contained in:
Brad Smith
2024-11-03 23:42:12 -05:00
parent da14df5535
commit 023112c6f2
+2 -2
View File
@@ -459,8 +459,8 @@ uint32_t x264_cpu_detect( void )
#if defined(__linux__) || HAVE_ELF_AUX_INFO
#define HWCAP_AARCH64_SVE (1 << 22)
#define HWCAP2_AARCH64_SVE2 (1 << 1)
#define HWCAP_AARCH64_SVE (1U << 22)
#define HWCAP2_AARCH64_SVE2 (1U << 1)
static uint32_t detect_flags( void )
{