diff --git a/Cantera/src/Array.h b/Cantera/src/Array.h index 094504c26..6081c47d5 100755 --- a/Cantera/src/Array.h +++ b/Cantera/src/Array.h @@ -187,8 +187,8 @@ namespace Cantera { /// output the array inline ostream& operator<<(ostream& s, const Array2D& m) { - int nr = m.nRows(); - int nc = m.nColumns(); + int nr = static_cast(m.nRows()); + int nc = static_cast(m.nColumns()); int i,j; for (i = 0; i < nr; i++) { for (j = 0; j < nc; j++) {