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:
parent
47521807d1
commit
3fd207d759
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue