Mercurial > octave-nkf
diff src/ov-bool-sparse.cc @ 5322:22994a5730f9
[project @ 2005-04-29 13:04:24 by dbateman]
author | dbateman |
---|---|
date | Fri, 29 Apr 2005 13:04:25 +0000 |
parents | 4c8a2e4e0717 |
children | 05adf9de7657 |
line wrap: on
line diff
--- a/src/ov-bool-sparse.cc Fri Apr 29 05:20:01 2005 +0000 +++ b/src/ov-bool-sparse.cc Fri Apr 29 13:04:25 2005 +0000 @@ -249,7 +249,7 @@ bool octave_sparse_bool_matrix::load_binary (std::istream& is, bool swap, - oct_mach_info::float_format fmt) + oct_mach_info::float_format /* fmt */) { FOUR_BYTE_INT nz, nc, nr, tmp; if (! is.read (X_CAST (char *, &tmp), 4)) @@ -596,7 +596,8 @@ H5Sget_simple_extent_dims (space_hid, hdims, maxdims); - if (hdims[0] != nc + 1 || hdims[1] != 1) + if (static_cast<int> (hdims[0]) != nc + 1 || + static_cast<int> (hdims[1]) != 1) { H5Sclose (space_hid); H5Dclose (data_hid); @@ -631,7 +632,7 @@ H5Sget_simple_extent_dims (space_hid, hdims, maxdims); - if (hdims[0] != nz || hdims[1] != 1) + if (static_cast<int> (hdims[0]) != nz || static_cast<int> (hdims[1]) != 1) { H5Sclose (space_hid); H5Dclose (data_hid); @@ -666,7 +667,7 @@ H5Sget_simple_extent_dims (space_hid, hdims, maxdims); - if (hdims[0] != nz || hdims[1] != 1) + if (static_cast<int> (hdims[0]) != nz || static_cast<int> (hdims[1]) != 1) { H5Sclose (space_hid); H5Dclose (data_hid);