Mercurial > octave-nkf
changeset 20467:a76e20f2f156
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.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 09 Aug 2015 18:08:01 -0700 |
parents | a63f9cb609a1 |
children | 859423f351a3 |
files | libinterp/corefcn/oct-stream.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/oct-stream.cc Sat Aug 08 19:13:43 2015 -0400 +++ b/libinterp/corefcn/oct-stream.cc Sun Aug 09 18:08:01 2015 -0700 @@ -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]);