From d223fc64ad09c28840406fdfc1e63e8c44146fc8 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 1 Mar 2007 16:23:06 -0500 Subject: COMP: fix a compiel warning --- Source/cmFileCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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; -- cgit v0.12