summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-02 15:48:58 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-02 15:48:58 (GMT)
commitfdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5 (patch)
tree5888e9cb12c3faf0123e0eb16891743a534f0543 /Source/kwsys/SystemTools.cxx
parenta0e26986f7365ad91b7702dad5bb786911257cea (diff)
downloadCMake-fdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5.zip
CMake-fdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5.tar.gz
CMake-fdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5.tar.bz2
COMP: fix warnings
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index ec7f96f..9892d73 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -3589,13 +3589,13 @@ bool SystemTools::GetLineFromStream(kwsys_ios::istream& is,
}
else
{
- leftToRead -= length;
+ leftToRead -= static_cast<long>(length);
}
}
// Append the data read to the line.
line.append(buffer);
- sizeLimit -= length;
+ sizeLimit = sizeLimit - static_cast<long>(length);
}
// Return the results.