Mercurial > hg > octave-nkf
diff src/ov-fcn-handle.cc @ 5828:22e23bee74c8
[project @ 2006-05-23 06:05:14 by jwe]
author | jwe |
---|---|
date | Tue, 23 May 2006 06:05:14 +0000 |
parents | 080c08b192d8 |
children | 4b433225128d |
line wrap: on
line diff
--- a/src/ov-fcn-handle.cc +++ b/src/ov-fcn-handle.cc @@ -215,7 +215,7 @@ bool octave_fcn_handle::save_binary (std::ostream& os, bool&) { - FOUR_BYTE_INT tmp = nm.length (); + int32_t tmp = nm.length (); os.write (reinterpret_cast<char *> (&tmp), 4); os.write (nm.c_str (), nm.length ()); if (nm == "@<anonymous>") @@ -234,7 +234,7 @@ octave_fcn_handle::load_binary (std::istream& is, bool swap, oct_mach_info::float_format) { - FOUR_BYTE_INT tmp; + int32_t tmp; if (! is.read (reinterpret_cast<char *> (&tmp), 4)) return false; if (swap)