diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-01 19:52:26 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-01 19:52:26 (GMT) |
commit | 508ddaf929da47e1bf54fc3d348792694fb4b1b9 (patch) | |
tree | 1b2faeeb18d058a0674e4e27ffbe83a4c610a131 /Source | |
parent | ae3ef643071099ae1fd76d0b7dfbf4459c100519 (diff) | |
download | CMake-508ddaf929da47e1bf54fc3d348792694fb4b1b9.zip CMake-508ddaf929da47e1bf54fc3d348792694fb4b1b9.tar.gz CMake-508ddaf929da47e1bf54fc3d348792694fb4b1b9.tar.bz2 |
COMP: fix warning
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index cbc1859..ec7f96f 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -3582,7 +3582,7 @@ bool SystemTools::GetLineFromStream(kwsys_ios::istream& is, // if we read too much then truncate the buffer if (leftToRead > 0) { - if (length > leftToRead) + if (static_cast<long>(length) > leftToRead) { buffer[leftToRead-1] = 0; leftToRead = 0; |