diff options
Diffstat (limited to 'byterun/extern.c')
-rw-r--r-- | byterun/extern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/extern.c b/byterun/extern.c index 4d534b2eb..d9beb235d 100644 --- a/byterun/extern.c +++ b/byterun/extern.c @@ -294,7 +294,7 @@ static void extern_rec(value v) /* Output the contents of the object */ switch(tag) { case String_tag: { - mlsize_t len = string_length(v); + mlsize_t len = caml_string_length(v); if (len < 0x20) { Write(PREFIX_SMALL_STRING + len); } else if (len < 0x100) { |