attr = binarySearch(view->Topview->attributes, attr_name);
assert(attr);
attr->propagate = prog;
- sym = agattr(g, objKind, attr_name, (char *) 0);
+ sym = agattr(g, objKind, attr_name, NULL);
if (!sym) /*it shouldnt be null, just in case it is null */
sym = agattr(g, objKind, attr_name, def_val);
/*graph */
#include <math.h>
#include <dotgen/dot.h>
-
+#include <stddef.h>
#define MAXSAME 5 /* max no of same{head,tail} groups on a node */
int n_sametail; /* number of same_t groups on current node */
int i;
- E_samehead = agattr(g, AGEDGE, "samehead",(char*)0);
- E_sametail = agattr(g, AGEDGE, "sametail",(char*)0);
+ E_samehead = agattr(g, AGEDGE, "samehead", NULL);
+ E_sametail = agattr(g, AGEDGE, "sametail", NULL);
if (!(E_samehead || E_sametail))
return;
for (n = agfstnode(g); n; n = agnxtnode(g, n)) {