diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2008-08-04 11:45:58 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2008-08-04 11:45:58 +0000 |
commit | 11eada96d0a1033143c0185b0f50db24d751a49f (patch) | |
tree | 55e99fc6df29b86f14dc27cca243b0165dbce185 | |
parent | de5bed37de6d1a426bc2abdc3ef440ea1762c67c (diff) |
PR#4486: caml_serialize_float_8 incorrect on platforms with mixed-endian floats (e.g. ARM)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-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 ac7f360b7..89e89f00e 100644 --- a/byterun/extern.c +++ b/byterun/extern.c @@ -639,7 +639,7 @@ CAMLexport void caml_serialize_float_4(float f) CAMLexport void caml_serialize_float_8(double f) { - caml_serialize_block_8(&f, 1); + caml_serialize_block_float_8(&f, 1); } CAMLexport void caml_serialize_block_1(void * data, intnat len) |