From c98892cb17857e12aec0b4b5dd1c04bcbd2e1617 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 3 Mar 1999 17:32:26 +0000 Subject: [PATCH] cast printf(%s) argument from void* to char* --- libraries/libavl/testavl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.5