diff options
author | Jim Blandy <jimb@red-bean.com> | 1998-10-16 10:09:04 +0000 |
---|---|---|
committer | Jim Blandy <jimb@red-bean.com> | 1998-10-16 10:09:04 +0000 |
commit | 3fd207d759c2486d2f8515ec0fc98075b95c5205 (patch) | |
tree | d7de7b7f27e85412597c3fec3a3bf8debb382700 /libguile/regex-posix.c | |
parent | 47521807d16021987cc725f1ba7c95b6c0154064 (diff) | |
download | guile-3fd207d759c2486d2f8515ec0fc98075b95c5205.tar.gz |
* regex-posix.c (scm_regexp_exec): Add a cast to remove a
signed/unsigned comparison.
Diffstat (limited to 'libguile/regex-posix.c')
-rw-r--r-- | libguile/regex-posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |