summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/regex-posix.c2
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);
}