diff options
author | rubidium <rubidium@openttd.org> | 2009-05-24 20:29:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-24 20:29:04 +0000 |
commit | 0d99b6c71cd096599b4805d230483f3e4e958af1 (patch) | |
tree | 463b69c3b2ea6f697506be055622229767dfebc4 /src/settings.cpp | |
parent | 36e71c8df6fe1f4c303d98b609bb9cdd0c4b7e75 (diff) | |
download | openttd-0d99b6c71cd096599b4805d230483f3e4e958af1.tar.xz |
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index b5fc8db82..4a1c0e042 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -214,7 +214,7 @@ static bool load_intlist(const char *str, void *array, int nelems, VarType type) static void make_intlist(char *buf, const char *last, const void *array, int nelems, VarType type) { int i, v = 0; - const byte *p = (const byte*)array; + byte *p = (byte*)array; for (i = 0; i != nelems; i++) { switch (type) { |