[x264-devel] [Git][videolan/x264][master] aarch64: defines involving bit shifts should be unsigned
Martin Storsjö (@mstorsjo)
gitlab at videolan.org
Sat Dec 28 22:18:52 UTC 2024
Martin Storsjö pushed to branch master at VideoLAN / x264
Commits:
023112c6 by Brad Smith at 2024-11-03T23:44:35-05:00
aarch64: defines involving bit shifts should be unsigned
- - - - -
1 changed file:
- common/cpu.c
Changes:
=====================================
common/cpu.c
=====================================
@@ -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 )
{
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/023112c6f2f575c72e9f26274d183b70996fb542
--
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/023112c6f2f575c72e9f26274d183b70996fb542
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the x264-devel
mailing list