index-of broken

cvs
Slava Pestov 2005-02-22 01:51:58 +00:00
parent 0f2d8b218b
commit c502ea889e
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ INLINE F_FIXNUM index_of_str(F_FIXNUM index, F_STRING* string, F_STRING* substri
CELL i = index; CELL i = index;
CELL str_cap = string_capacity(string); CELL str_cap = string_capacity(string);
CELL substr_cap = string_capacity(substring); CELL substr_cap = string_capacity(substring);
CELL limit = str_cap - substr_cap; F_FIXNUM limit = str_cap - substr_cap;
CELL scan; CELL scan;
if(substr_cap == 1) if(substr_cap == 1)