]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
configure: correct the value for -Wno-alloc-size-larger-than
authorPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 13 Oct 2025 18:50:10 +0000 (20:50 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 13 Oct 2025 18:50:10 +0000 (20:50 +0200)
configure.ac

index 51a6d1767ff0f66f0d9cf015d3386b7b0c8fdd6a..aa89abb9fa71d9aa1c67e2f8e76a8e2b7c671366 100644 (file)
@@ -2610,7 +2610,7 @@ AC_GCC_WARNING_SUBST_NO([unused-result], [FLAG_W_NO_UNUSED_RESULT])
 AC_GCC_WARNING_SUBST_NO([infinite-recursion], [FLAG_W_NO_INFINITE_RECURSION])
 AC_GCC_WARNING_SUBST_NO([deprecated], [FLAG_W_NO_DEPRECATED])
 # OK for 32 and 64 bit
-AC_GCC_WARNING_SUBST_NO([alloc-size-larger-than=2147483647], [FLAG_W_NO_ALLOC_SIZE_LARGER_THAN])
+AC_GCC_WARNING_SUBST_NO([alloc-size-larger-than=18446744073709551615], [FLAG_W_NO_ALLOC_SIZE_LARGER_THAN])
 AC_GCC_WARNING_SUBST_NO([alloc-size], [FLAG_W_NO_ALLOC_SIZE])
 
 AC_GCC_WARNING_SUBST([write-strings], [FLAG_W_WRITE_STRINGS])