(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.

This commit is contained in:
rubidium
2009-05-24 20:29:04 +00:00
parent 36e71c8df6
commit 0d99b6c71c
33 changed files with 108 additions and 109 deletions

View File

@@ -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) {