(zilch lang ninja): fix off-by-one on end of file
Change-Id: I6a6a69645dd013d565efccfd634ed0744e5a688c
This commit is contained in:
parent
e08558456a
commit
a6757baf0e
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@
|
|||
((= (bytevector-u8-ref bv j) (bytevector-u8-ref in-bv (+ index j)))
|
||||
(inner-loop (+ j 1)))
|
||||
(else #f)))
|
||||
(if (>= (+ index bv-len) (bytevector-length in-bv))
|
||||
(if (> (+ index bv-len) (bytevector-length in-bv))
|
||||
#f
|
||||
(inner-loop 0)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue