From ab3ff07c93746c337ed630cc0566c7ff94e515d0 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 3 Sep 2024 20:14:23 +0200 Subject: [BOX32] Fixed 32bits locale memory size --- src/box32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/box32.c b/src/box32.c index 00b08e1a..d08a29d0 100644 --- a/src/box32.c +++ b/src/box32.c @@ -242,7 +242,7 @@ ptr_t to_locale(void* p) { pthread_rwlock_unlock(&hash_lock); pthread_rwlock_wrlock(&hash_lock); // a locale_t is 5 pointer! - void* m = calloc(13+3+13+3, sizeof(ptr_t)); // the 3 ctype value are also inside the locale struct + void* m = calloc(13+3+13+4, sizeof(ptr_t)); // the 3 ctype value are also inside the locale struct ret = to_ptrv(m); // add to hash maps int r; -- cgit 1.4.1