diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-02 15:48:58 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-02 15:48:58 (GMT) |
commit | fdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5 (patch) | |
tree | 5888e9cb12c3faf0123e0eb16891743a534f0543 /Source/cmFileCommand.cxx | |
parent | a0e26986f7365ad91b7702dad5bb786911257cea (diff) | |
download | CMake-fdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5.zip CMake-fdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5.tar.gz CMake-fdbe20cf8be9b8fb39bd66be71c2cb9f8fa39db5.tar.bz2 |
COMP: fix warnings
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 447e75e..9f8523c 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -231,7 +231,7 @@ bool cmFileCommand::HandleReadCommand(std::vector<std::string> const& args) { if (sizeLimit > 0) { - sizeLimit -= line.size(); + sizeLimit = sizeLimit - static_cast<long>(line.size()); if (has_newline) { sizeLimit--; |