mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-19 19:43:23 +08:00
cmMacroCommand: Fix format string to match type of argument
This commit is contained in:
@@ -93,7 +93,7 @@ bool cmMacroHelperCommand::InvokeInitialPass(
|
|||||||
argVs.reserve(expandedArgs.size());
|
argVs.reserve(expandedArgs.size());
|
||||||
char argvName[60];
|
char argvName[60];
|
||||||
for (unsigned int j = 0; j < expandedArgs.size(); ++j) {
|
for (unsigned int j = 0; j < expandedArgs.size(); ++j) {
|
||||||
sprintf(argvName, "${ARGV%i}", j);
|
sprintf(argvName, "${ARGV%u}", j);
|
||||||
argVs.push_back(argvName);
|
argVs.push_back(argvName);
|
||||||
}
|
}
|
||||||
// Invoke all the functions that were collected in the block.
|
// Invoke all the functions that were collected in the block.
|
||||||
|
Reference in New Issue
Block a user