Casting to (char *) in test/tree.c