From c502ea889e641d17442e86c19566c8e846a1cb1c Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Tue, 22 Feb 2005 01:51:58 +0000 Subject: [PATCH] index-of broken --- native/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/string.c b/native/string.c index 94c42abd6d..b4bb92b3bd 100644 --- a/native/string.c +++ b/native/string.c @@ -230,7 +230,7 @@ INLINE F_FIXNUM index_of_str(F_FIXNUM index, F_STRING* string, F_STRING* substri CELL i = index; CELL str_cap = string_capacity(string); CELL substr_cap = string_capacity(substring); - CELL limit = str_cap - substr_cap; + F_FIXNUM limit = str_cap - substr_cap; CELL scan; if(substr_cap == 1)