aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/wgetopt.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-10 11:38:05 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-10 11:38:05 -0800
commit3345f5d0d02f11fc45803d4cf057988bd8a0da54 (patch)
tree29518bc3f4372c49fdbff6fb6b267bc55d4710ea /src/wgetopt.cpp
parent28837a8b30c4ebc6dd7965190f27f419464a68e0 (diff)
Remove an unnecessary typecast
Diffstat (limited to 'src/wgetopt.cpp')
-rw-r--r--src/wgetopt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wgetopt.cpp b/src/wgetopt.cpp
index 2fe52f62..15deb3b1 100644
--- a/src/wgetopt.cpp
+++ b/src/wgetopt.cpp
@@ -307,7 +307,7 @@ int wgetopter_t::_wgetopt_internal(int argc, wchar_t **argv, const wchar_t *opts
exchange them so that the options come first. */
if (first_nonopt != last_nonopt && last_nonopt != woptind)
- exchange((wchar_t **) argv);
+ exchange(argv);
else if (last_nonopt != woptind)
first_nonopt = woptind;
@@ -330,7 +330,7 @@ int wgetopter_t::_wgetopt_internal(int argc, wchar_t **argv, const wchar_t *opts
woptind++;
if (first_nonopt != last_nonopt && last_nonopt != woptind)
- exchange((wchar_t **) argv);
+ exchange(argv);
else if (first_nonopt == last_nonopt)
first_nonopt = woptind;
last_nonopt = argc;