gcc-4.4.1 is more strict about 'const'

This commit is contained in:
John Reiser 2009-08-30 19:44:45 -07:00
parent b03112a5dd
commit aa74276b25

View File

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