COMP: fixed compiler warning in sprintf usage
This commit is contained in:
parent
68674bd0d7
commit
11604e72c4
|
@ -608,7 +608,7 @@ void CommandLineArguments::GenerateHelp()
|
|||
{
|
||||
str << kwsys_ios::endl;
|
||||
char argument[100];
|
||||
sprintf(argument, sit->c_str());
|
||||
sprintf(argument, "%s", sit->c_str());
|
||||
switch ( this->Internals->Callbacks[*sit].ArgumentType )
|
||||
{
|
||||
case CommandLineArguments::NO_ARGUMENT: break;
|
||||
|
|
Loading…
Reference in New Issue