~ chicken-core (master) 12f189c2b097fc3426eca4a8a9a74e6f2c83bfa2
commit 12f189c2b097fc3426eca4a8a9a74e6f2c83bfa2
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Tue Oct 20 15:50:53 2026 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Tue Oct 20 15:50:53 2026 +0200
allocated space too small on 32-bit systems
diff --git a/extras.scm b/extras.scm
index 2111666a..1a84df3a 100644
--- a/extras.scm
+++ b/extras.scm
@@ -456,7 +456,7 @@
(##core#inline_allocate ("C_s_a_u_i_random_int" 2) n))))
(define (pseudo-random-real)
- (##core#inline_allocate ("C_a_i_random_real" 2)))
+ (##core#inline_allocate ("C_a_i_random_real" 4)))
(define random-bytes
(let ((nstate (foreign-value "C_RANDOM_STATE_SIZE" unsigned-int)))
Trap