summaryrefslogtreecommitdiff
path: root/Source/cmStringCommand.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-08-16 18:49:13 +0000
committerKitware Robot <kwrobot@kitware.com>2019-08-16 14:49:28 -0400
commitdcf2beb7dec757b7e28eba43fb7f2d5498bded39 (patch)
treeb4dcb409eea4f99a58f02711edba5452c8613cfc /Source/cmStringCommand.cxx
parent6f1781c63ad58c3c84987dce7eee36668ed2ba57 (diff)
parent935fbe0b0454163678bc4ef19e1bee95a7a31b4d (diff)
downloadcmake-dcf2beb7dec757b7e28eba43fb7f2d5498bded39.tar.gz
Merge topic 'cmStringAlgorithms_ulong'
935fbe0b04 cmStringAlgorithms: Add cmStrToLong and cmStrToULong Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3681
Diffstat (limited to 'Source/cmStringCommand.cxx')
-rw-r--r--Source/cmStringCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx
index 46d94591aa..41d48ed3bd 100644
--- a/Source/cmStringCommand.cxx
+++ b/Source/cmStringCommand.cxx
@@ -736,7 +736,7 @@ bool cmStringCommand::HandleRepeatCommand(std::vector<std::string> const& args)
}
unsigned long times;
- if (!cmSystemTools::StringToULong(args[ArgPos::TIMES].c_str(), &times)) {
+ if (!cmStrToULong(args[ArgPos::TIMES], &times)) {
this->Makefile->IssueMessage(MessageType::FATAL_ERROR,
"repeat count is not a positive number.");
return true;