summaryrefslogtreecommitdiffstats
path: root/byterun/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/str.c')
-rw-r--r--byterun/str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/str.c b/byterun/str.c
index 347e5bcb9..5bd4372e3 100644
--- a/byterun/str.c
+++ b/byterun/str.c
@@ -45,7 +45,7 @@ CAMLprim value caml_create_string(value len)
{
mlsize_t size = Long_val(len);
if (size > Bsize_wsize (Max_wosize) - 1) invalid_argument("String.create");
- return alloc_string(size);
+ return caml_alloc_string(size);
}
CAMLprim value caml_string_get(value str, value index)