diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-09-03 20:14:23 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-09-03 20:19:34 +0200 |
| commit | ab3ff07c93746c337ed630cc0566c7ff94e515d0 (patch) | |
| tree | 54e0bc2dedb313064b3da7a1221c0ccadd8a1682 /src | |
| parent | 22ab62a729e355d70a7cd699f78b017eee3a2e2d (diff) | |
| download | box64-ab3ff07c93746c337ed630cc0566c7ff94e515d0.tar.gz box64-ab3ff07c93746c337ed630cc0566c7ff94e515d0.zip | |
[BOX32] Fixed 32bits locale memory size
Diffstat (limited to 'src')
| -rw-r--r-- | src/box32.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |