COMP: fixed compiler warning in sprintf usage

This commit is contained in:
Sean McBride 2007-08-03 15:43:31 -04:00
parent 68674bd0d7
commit 11604e72c4
1 changed files with 1 additions and 1 deletions

View File

@ -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;