diff options
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 4c0b22d03..bf941c568 100644 --- a/libguile/regex-posix.c +++ b/libguile/regex-posix.c @@ -128,7 +128,7 @@ scm_regexp_error_msg (int regerrno, regex_t *rx) if (l > 80) { errmsg = scm_make_string (SCM_MAKINUM (l), SCM_UNDEFINED); - regerror (regerrno, rx, SCM_CHARS (errmsg), l); + regerror (regerrno, rx, SCM_STRING_CHARS (errmsg), l); } SCM_ALLOW_INTS; return SCM_STRING_CHARS (errmsg); |