]> git.sur5r.net Git - openldap/commitdiff
Cast pointer to strcasecmp to AVL_CMP.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 16 Mar 1999 21:55:00 +0000 (21:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 16 Mar 1999 21:55:00 +0000 (21:55 +0000)
servers/slapd/tools/ldif2ldbm.c

index 834980e62aa2bac0fbbb40ea96067c1867f2ce4a..5dda59d83cc28ef2a83613b62640f91b86e1334c 100644 (file)
@@ -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 {