static void writeDicts(Agraph_t * g, FILE * gxlFile)
{
Agdatadict_t *def;
- if ((def = (Agdatadict_t *) agdatadict(g, FALSE))) {
+ if ((def = agdatadict(g, FALSE))) {
writeDict(g, gxlFile, "graph", def->dict.g, 1);
writeDict(g, gxlFile, "node", def->dict.n, 0);
writeDict(g, gxlFile, "edge", def->dict.e, 0);
Agnode_t *n;
Agnode_t *realn;
Agedge_t *e;
- Agdatadict_t *dd;
writeSubgs(stp, g, gxlFile);
- dd = (Agdatadict_t *) agdatadict(g, FALSE);
+ Agdatadict_t *dd = agdatadict(g, FALSE);
for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
realn = agidnode(stp->root, AGID(n), 0);
if (!writeval(realn)) {