fprintf(stderr, "Pruning node %s\n", (char*)node_list.data[i]);
/* check whether a node of that name exists at all */
- node = agnode(graph, (char*)node_list.data[i], 0);
+ node = agnode(graph, node_list.data[i], 0);
if (node == NULL) {
fprintf(stderr,
"*** Warning: No such node: %s -- gracefully skipping this one\n",
/* pointer to argument value */
sp->v = gv_strdup(p);
- add_to_generic_list(l, (gl_data) sp);
+ add_to_generic_list(l, sp);
}
/* add element to node list */
static void addnode(generic_list_t *l, char *n) {
char *sp = gv_strdup(n);
- add_to_generic_list(l, (gl_data) sp);
+ add_to_generic_list(l, sp);
}