mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Cast pointer to strcasecmp to AVL_CMP.
This commit is contained in:
parent
fa81f43f04
commit
cc38cf6534
@ -248,7 +248,7 @@ main( int argc, char **argv )
|
||||
continue;
|
||||
|
||||
type = strdup( type );
|
||||
if ( avl_insert( &avltypes, type, strcasecmp,
|
||||
if ( avl_insert( &avltypes, type, (AVL_CMP) strcasecmp,
|
||||
avl_dup_error ) != 0 ) {
|
||||
free( type );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user