Mercurial > hg > octave-lyh
diff src/ov-bool-mat.cc @ 5828:22e23bee74c8
[project @ 2006-05-23 06:05:14 by jwe]
author | jwe |
---|---|
date | Tue, 23 May 2006 06:05:14 +0000 |
parents | faafc2d98b8d |
children | c20eb7330d13 |
line wrap: on
line diff
--- a/src/ov-bool-mat.cc +++ b/src/ov-bool-mat.cc @@ -282,7 +282,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++) { @@ -307,7 +307,7 @@ octave_bool_matrix::load_binary (std::istream& is, bool swap, oct_mach_info::float_format /* fmt */) { - FOUR_BYTE_INT mdims; + int32_t mdims; if (! is.read (reinterpret_cast<char *> (&mdims), 4)) return false; if (swap) @@ -319,7 +319,7 @@ // negative to allow the positive value to be used for rows/cols for // backward compatibility mdims = - mdims; - FOUR_BYTE_INT di; + int32_t di; dim_vector dv; dv.resize (mdims);