From 3fd207d759c2486d2f8515ec0fc98075b95c5205 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 16 Oct 1998 10:09:04 +0000 Subject: * regex-posix.c (scm_regexp_exec): Add a cast to remove a signed/unsigned comparison. --- libguile/regex-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libguile/regex-posix.c') diff --git a/libguile/regex-posix.c b/libguile/regex-posix.c index c9a29d6d4..75ed36dbe 100644 --- a/libguile/regex-posix.c +++ b/libguile/regex-posix.c @@ -224,7 +224,7 @@ scm_regexp_exec (SCM rx, SCM str, SCM start, SCM flags) { SCM_ASSERT (SCM_INUMP (start), start, SCM_ARG3, s_regexp_exec); offset = SCM_INUM (start); - SCM_ASSERT (offset >= 0 && offset <= SCM_LENGTH (str), start, + SCM_ASSERT (offset >= 0 && (unsigned) offset <= SCM_LENGTH (str), start, SCM_OUTOFRANGE, s_regexp_exec); } -- cgit v1.2.3