mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 21:59:17 +02:00
Fixing destination offset in bytevector-copy-partial!.
This commit is contained in:
parent
d4da2cb85f
commit
16f840ed20
1 changed files with 1 additions and 1 deletions
|
@ -118,4 +118,4 @@
|
|||
(define (bytevector-copy-partial! from start end to at)
|
||||
(do ((i start (+ i 1)))
|
||||
((= i end))
|
||||
(bytevector-u8-set! to (+ i at) (bytevector-u8-ref from i))))
|
||||
(bytevector-u8-set! to (+ (- i start) at) (bytevector-u8-ref from i))))
|
||||
|
|
Loading…
Add table
Reference in a new issue