1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00

* regex-posix.c (scm_regexp_exec): Add a cast to remove a

signed/unsigned comparison.
This commit is contained in:
Jim Blandy 1998-10-16 10:09:04 +00:00
parent 47521807d1
commit 3fd207d759

View file

@ -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);
}