Mercurial > hg > octave-nkf
diff src/ov-base-int.cc @ 5828:22e23bee74c8
[project @ 2006-05-23 06:05:14 by jwe]
author | jwe |
---|---|
date | Tue, 23 May 2006 06:05:14 +0000 |
parents | 8d7162924bd3 |
children | cdef72fcd206 |
line wrap: on
line diff
--- a/src/ov-base-int.cc +++ b/src/ov-base-int.cc @@ -134,7 +134,7 @@ return false; // Use negative value for ndims to differentiate with old format!! - FOUR_BYTE_INT tmp = - d.length(); + int32_t tmp = - d.length(); os.write (reinterpret_cast<char *> (&tmp), 4); for (int i=0; i < d.length (); i++) { @@ -152,7 +152,7 @@ octave_base_int_matrix<T>::load_binary (std::istream& is, bool swap, oct_mach_info::float_format ) { - FOUR_BYTE_INT mdims; + int32_t mdims; if (! is.read (reinterpret_cast<char *> (&mdims), 4)) return false; if (swap) @@ -161,7 +161,7 @@ return false; mdims = - mdims; - FOUR_BYTE_INT di; + int32_t di; dim_vector dv; dv.resize (mdims);