From: Hallvard Furuseth Date: Wed, 3 Mar 1999 17:32:26 +0000 (+0000) Subject: cast printf(%s) argument from void* to char* X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~511 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c98892cb17857e12aec0b4b5dd1c04bcbd2e1617;p=openldap cast printf(%s) argument from void* to char* --- diff --git a/libraries/libavl/testavl.c b/libraries/libavl/testavl.c index 8bc12d6377..60af40362c 100644 --- a/libraries/libavl/testavl.c +++ b/libraries/libavl/testavl.c @@ -92,7 +92,7 @@ static void ravl_print( Avlnode *root, int depth ) for ( i = 0; i < depth; i++ ) printf( " " ); - printf( "%s %d\n", root->avl_data, root->avl_bf ); + printf( "%s %d\n", (char *) root->avl_data, root->avl_bf ); ravl_print( root->avl_left, depth+1 ); }