cleaned up some signed/unsigned comparison warnings

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@8696 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2014-05-01 04:22:46 +00:00
parent 392f48a9ed
commit 31bc3bbf65

View File

@ -272,7 +272,7 @@ void CSelectedOutput::Serialize(
// go through rows by column
for (size_t j = 0; j < ncols; j++)
{
for (size_t i = row_number; i < row_number + 1; i++)
for (size_t i = row_number; i < (size_t)(row_number + 1); i++)
{
types.push_back(m_arrayVar[j][i].type);
switch(m_arrayVar[j][i].type)
@ -369,9 +369,9 @@ void CSelectedOutput::Doublize(
doubles.clear();
// go through column dominant order (Fortran)
for (size_t j = 0; j < ncol; j++)
for (size_t j = 0; j < (size_t)ncol; j++)
{
for (size_t i = 0; i < nrow; i++)
for (size_t i = 0; i < (size_t)nrow; i++)
{
switch(m_arrayVar[j][i].type)
{