diff options
Diffstat (limited to 'byterun/floats.c')
-rw-r--r-- | byterun/floats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/floats.c b/byterun/floats.c index 5aa6efbc0..32e0c296e 100644 --- a/byterun/floats.c +++ b/byterun/floats.c @@ -113,7 +113,7 @@ CAMLprim value float_of_string(value vs) mlsize_t len; double d; - len = string_length(vs); + len = caml_string_length(vs); buf = len < sizeof(parse_buffer) ? parse_buffer : stat_alloc(len + 1); src = String_val(vs); dst = buf; |