From d460410d399528b198c93585b0d25b9a97407347 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 6 Sep 2024 09:34:16 +0200 Subject: [PATCH] cextras: update to new main This update fixes a malbehaviour on 32bit systems, where the cextras library would calculate the wrong size for array resizing. The corresponding commit in cextras is 2777280db867664211f072fc4bd6173a781ec8d4. return -CX_ERR_INTEGER_OVERFLOW; } // Set the bit at the position of the first 0 to 1 - *val = 1ULL << (sizeof(size_t) * 8 - leading_zeros); + *val = 1ULL << (sizeof(long long) * 8 - leading_zeros); } return 0; } https://github.com/Gottox/cextras/commit/2777280db867664211f072fc4bd6173a781ec8d4 --- subprojects/cextras.wrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/cextras.wrap b/subprojects/cextras.wrap index d0ad8b43..6474e2e5 100644 --- a/subprojects/cextras.wrap +++ b/subprojects/cextras.wrap @@ -1,6 +1,6 @@ [wrap-git] directory = cextras -revision = c2d675dbd39f3f9b9d138907b965147819c17f6c +revision = 2777280db867664211f072fc4bd6173a781ec8d4 url = https://github.com/Gottox/cextras.git depth = 1