gcc-4.4.1 is more strict about 'const'
This commit is contained in:
parent
b03112a5dd
commit
aa74276b25
@ -1343,8 +1343,8 @@ static bool match(unsigned itype, const unsigned char *ntype,
|
||||
// FIXME this comparison is not too exact
|
||||
while (1)
|
||||
{
|
||||
char *delim1 = strchr(keep, '/');
|
||||
char *delim2 = strchr(keep, ',');
|
||||
char const *delim1 = strchr(keep, '/');
|
||||
char const *delim2 = strchr(keep, ',');
|
||||
if (helper::match(itype, ntype, keep))
|
||||
{
|
||||
if (!delim1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user