diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-01 21:23:06 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-01 21:23:06 (GMT) |
commit | d223fc64ad09c28840406fdfc1e63e8c44146fc8 (patch) | |
tree | 8ad991abf8a40789e98993e7606d275c2a48b5e7 /Source/cmFileCommand.cxx | |
parent | f8c982cf786362385048071bb35bf826fa1516c4 (diff) | |
download | CMake-d223fc64ad09c28840406fdfc1e63e8c44146fc8.zip CMake-d223fc64ad09c28840406fdfc1e63e8c44146fc8.tar.gz CMake-d223fc64ad09c28840406fdfc1e63e8c44146fc8.tar.bz2 |
COMP: fix a compiel warning
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 a97802c..447e75e 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -219,7 +219,7 @@ bool cmFileCommand::HandleReadCommand(std::vector<std::string> const& args) long sizeLimit = -1; if (args.size() >= 5 && args[3] == "LIMIT") { - sizeLimit = atof(args[4].c_str()); + sizeLimit = atoi(args[4].c_str()); } std::string output; |