comparison src/ov-flt-re-diag.cc @ 8677:095ae5e0a831

eliminte some compiler warnings
author John W. Eaton <jwe@octave.org>
date Thu, 05 Feb 2009 02:42:58 -0500
parents a1ae2aae903e
children 8dd69187c4a2
comparison
equal deleted inserted replaced
8676:22462fd58e66 8677:095ae5e0a831
113 { 113 {
114 return DiagMatrix (matrix.rows (), matrix.cols (), 0.0f); 114 return DiagMatrix (matrix.rows (), matrix.cols (), 0.0f);
115 } 115 }
116 116
117 bool 117 bool
118 octave_float_diag_matrix::save_binary (std::ostream& os, bool& save_as_floats) 118 octave_float_diag_matrix::save_binary (std::ostream& os,
119 bool& /* save_as_floats*/)
119 { 120 {
120 121
121 int32_t r = matrix.rows (), c = matrix.cols (); 122 int32_t r = matrix.rows (), c = matrix.cols ();
122 os.write (reinterpret_cast<char *> (&r), 4); 123 os.write (reinterpret_cast<char *> (&r), 4);
123 os.write (reinterpret_cast<char *> (&c), 4); 124 os.write (reinterpret_cast<char *> (&c), 4);