diff options
Diffstat (limited to 'mtxmatrix.cc')
-rw-r--r-- | mtxmatrix.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mtxmatrix.cc b/mtxmatrix.cc index ab23d69..43eb703 100644 --- a/mtxmatrix.cc +++ b/mtxmatrix.cc @@ -18,8 +18,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <string> -#include <stdio.h> +#include <cstdio> +#include <cstring> #include <iostream> #include "mtxmatrix.h" @@ -646,7 +646,7 @@ MtxMatrix::toString(bool float_string) const MtxRational *rational; rational = rationals; - memset(columns_lengths, 0, sizeof(columns_lengths)); + std::memset(columns_lengths, 0, sizeof(columns_lengths)); for (i = 0; i < rows; i++) for (j = 0; j < columns; j++) |