From db9f2b1b879618bacbbe6ac9ef2a9666e0ed27fc Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 1 Jul 2004 23:25:14 +0000 Subject: [PATCH] static_cast added to avoid VC++ compiler issues. --- Cantera/src/Array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++) {