diff options
author | jrp2014 <jrp2014@users.noreply.github.com> | 2018-04-03 21:30:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-04-05 17:42:49 (GMT) |
commit | 2f87d008034d92a54beb586c031c636596055034 (patch) | |
tree | af57e3bea5d07836f24f2a51a675afca13298e29 /Source/cmMacroCommand.cxx | |
parent | b0676cc5d48a5e7b79e8c95545b464b67248d96e (diff) | |
download | CMake-2f87d008034d92a54beb586c031c636596055034.zip CMake-2f87d008034d92a54beb586c031c636596055034.tar.gz CMake-2f87d008034d92a54beb586c031c636596055034.tar.bz2 |
cmMacroCommand: Fix format string to match type of argument
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r-- | Source/cmMacroCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index 07943e3..6f4b930 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -93,7 +93,7 @@ bool cmMacroHelperCommand::InvokeInitialPass( argVs.reserve(expandedArgs.size()); char argvName[60]; for (unsigned int j = 0; j < expandedArgs.size(); ++j) { - sprintf(argvName, "${ARGV%i}", j); + sprintf(argvName, "${ARGV%u}", j); argVs.push_back(argvName); } // Invoke all the functions that were collected in the block. |