# HG changeset patch # User Rik # Date 1439168881 25200 # Node ID a76e20f2f156ebd4ddfc60416b78e835ab289f54 # Parent a63f9cb609a1d7422999b0836c33f0ab00b98e80 Fix IEEE big-endian/little endian conversions in oct-stream (bug #45687). * oct-stream.cc (convert_and_copy): Call oct_mach_info::native_float_format () rather than oct_mach_info::float_format which is an enum rather than a function. diff --git a/libinterp/corefcn/oct-stream.cc b/libinterp/corefcn/oct-stream.cc --- a/libinterp/corefcn/oct-stream.cc +++ b/libinterp/corefcn/oct-stream.cc @@ -3189,7 +3189,7 @@ else if (do_float_fmt_conv) do_float_format_conversion (&data[i], sizeof (SRC_T), 1, from_flt_fmt, - oct_mach_info::float_format ()); + oct_mach_info::native_float_format ()); dst_elt_type tmp (data[i]);