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:
Edoardo Prezioso 2012-07-02 19:37:30 +02:00
parent 7401104f45
commit fa24fff3dc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
//---------------------------------------------------------------------------