Skip to content
Snippets Groups Projects
Commit 97b9bcf4 authored by Sean McBride's avatar Sean McBride
Browse files

COMP: fixed compiler warning in sprintf usage

parent 5a6b83ee
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment