Fixed the warning with GCC 4.7.1:
cast from type ‘const void*’ to type ‘const char**’ casts away qualifiers.
This commit is contained in:
parent
7401104f45
commit
fa24fff3dc
|
@ -94,7 +94,7 @@ static const char * const call_func_white_list[] = {
|
|||
|
||||
static int call_func_white_list_compare(const void *a, const void *b)
|
||||
{
|
||||
return strcmp((const char *)a, *(const char **)b);
|
||||
return strcmp((const char *)a, *(const char * const *)b);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue