aboutsummaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-04 23:10:38 +0000
committerIan Lance Taylor <iant@google.com>2008-03-04 23:10:38 +0000
commitee1fe73e110f7009719b6befefd9fabe94672931 (patch)
tree10b08a9e267cbba7127112fef725dac0dd8f96df /gold/main.cc
parent3954eb47e14c40e07db4ada5069debdc6fd1ae93 (diff)
downloadgdb-ee1fe73e110f7009719b6befefd9fabe94672931.zip
gdb-ee1fe73e110f7009719b6befefd9fabe94672931.tar.gz
gdb-ee1fe73e110f7009719b6befefd9fabe94672931.tar.bz2
From Craig Silverstein: rework option handling to make it easier to
add a new option.
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/main.cc b/gold/main.cc
index a5fd12c..e4f9003 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -149,7 +149,7 @@ main(int argc, char** argv)
// Handle the command line options.
Command_line command_line;
- command_line.process(argc - 1, argv + 1);
+ command_line.process(argc - 1, const_cast<const char**>(argv + 1));
long start_time = 0;
if (command_line.options().stats())