typo in list->cblock (PR7990)
svn: r2611
This commit is contained in:
parent
38f5c8c680
commit
9b3965f900
|
@ -1463,8 +1463,8 @@
|
||||||
(if (zero? len)
|
(if (zero? len)
|
||||||
#f ; #() => NULL
|
#f ; #() => NULL
|
||||||
(let ([cblock (malloc len type)])
|
(let ([cblock (malloc len type)])
|
||||||
(let loop ([i (sub1 len)])
|
(let loop ([i 0])
|
||||||
(unless (< i 0)
|
(when (< i len)
|
||||||
(ptr-set! cblock type i (vector-ref v i))
|
(ptr-set! cblock type i (vector-ref v i))
|
||||||
(loop (add1 i))))
|
(loop (add1 i))))
|
||||||
cblock))))
|
cblock))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user