typo in list->cblock (PR7990)

svn: r2611

original commit: 9b3965f900707ea666b324d1e59860558fe4b2e2
This commit is contained in:
Eli Barzilay 2006-04-05 22:18:16 +00:00
parent 815a4b24e1
commit b8d5164d65

View File

@ -1463,8 +1463,8 @@
(if (zero? len)
#f ; #() => NULL
(let ([cblock (malloc len type)])
(let loop ([i (sub1 len)])
(unless (< i 0)
(let loop ([i 0])
(when (< i len)
(ptr-set! cblock type i (vector-ref v i))
(loop (add1 i))))
cblock))))