Commit 11604e72 authored by Sean McBride's avatar Sean McBride
Browse files

COMP: fixed compiler warning in sprintf usage

parent 68674bd0
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment