diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-05 16:20:09 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-05 19:23:13 -0800 |
commit | fd10844c2b5fe0c1efa2dc034e6c9173b5ed82cb (patch) | |
tree | d161223df4ca3dbbda2a5f9f5915943149fd8c3b /wgetopt.cpp | |
parent | 35f230235290be2bb482acab986d7017c77ca208 (diff) |
Unbreak C++11 due to narrowing; use non-conflicting declaration FISH_COLORS instead of COLORS; remove deprecated register type.
Diffstat (limited to 'wgetopt.cpp')
-rw-r--r-- | wgetopt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wgetopt.cpp b/wgetopt.cpp index 08ccc3b1..ef0a6459 100644 --- a/wgetopt.cpp +++ b/wgetopt.cpp @@ -270,7 +270,7 @@ exchange(wchar_t **argv) { /* Bottom segment is the short one. */ int len = middle - bottom; - register int i; + short i; /* Swap it with the top part of the top segment. */ for (i = 0; i < len; i++) @@ -286,7 +286,7 @@ exchange(wchar_t **argv) { /* Top segment is the short one. */ int len = top - middle; - register int i; + short i; /* Swap it with the bottom part of the bottom segment. */ for (i = 0; i < len; i++) |