summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/CommandLineArguments.cxx2
-rw-r--r--Source/kwsys/CommandLineArguments.hxx.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx
index 909c33f..0eca02a 100644
--- a/Source/kwsys/CommandLineArguments.cxx
+++ b/Source/kwsys/CommandLineArguments.cxx
@@ -89,7 +89,7 @@ CommandLineArguments::~CommandLineArguments()
}
//----------------------------------------------------------------------------
-void CommandLineArguments::Initialize(int argc, char* argv[])
+void CommandLineArguments::Initialize(int argc, const char* const argv[])
{
int cc;
diff --git a/Source/kwsys/CommandLineArguments.hxx.in b/Source/kwsys/CommandLineArguments.hxx.in
index f4893b5..70ef2d3 100644
--- a/Source/kwsys/CommandLineArguments.hxx.in
+++ b/Source/kwsys/CommandLineArguments.hxx.in
@@ -85,7 +85,7 @@ public:
/**
* Initialize internal data structures. This should be called before parsing.
*/
- void Initialize(int argc, char* argv[]);
+ void Initialize(int argc, const char* const argv[]);
/**
* Initialize internal data structure and pass arguments one by one. This is