Skip to content
Snippets Groups Projects
Commit c98892cb authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

cast printf(%s) argument from void* to char*

parent 7f79f571
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment