cmMacroCommand: Fix format string to match type of argument
This commit is contained in:
parent
b0676cc5d4
commit
2f87d00803
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user