Skip to content

Commit

Permalink
[ fix ] Eliminate invalid memory reference (chez's GC bug?)
Browse files Browse the repository at this point in the history
  • Loading branch information
buzden committed Dec 27, 2022
1 parent 5429cc1 commit 8deac24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/chez/support.ss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
(let ((exval (car e)))
(if (bwp-object? exval)
(let ((val ((cdr e))))
(begin (set-car! e val) val))
exval)))
(begin (set-car! e (box val)) val))
(unbox exval))))

(define (blodwen-toSignedInt x bits)
(if (logbit? bits x)
Expand Down

0 comments on commit 8deac24

Please sign in to comment.