summaryrefslogtreecommitdiff
path: root/libguile/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/strings.h')
-rw-r--r--libguile/strings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/strings.h b/libguile/strings.h
index 8503f3e32..343c655e6 100644
--- a/libguile/strings.h
+++ b/libguile/strings.h
@@ -60,7 +60,7 @@
#define SCM_STRING_COERCE_0TERMINATION_X(x) \
{ if (SCM_NIMP (x) && (SCM_TYP7 (x) == scm_tc7_substring)) \
- x = scm_makfromstr (SCM_ROCHARS (x), SCM_STRING_LENGTH (x), 0); }
+ x = scm_makfromstr (SCM_STRING_CHARS (x), SCM_STRING_LENGTH (x), 0); }