]> granicus.if.org Git - graphviz/commitdiff
Fix printf for pointer type
authorEmden Gansner <erg@research.att.com>
Mon, 24 Oct 2011 20:07:32 +0000 (16:07 -0400)
committerEmden Gansner <erg@research.att.com>
Mon, 24 Oct 2011 20:07:32 +0000 (16:07 -0400)
lib/dotgen/fastgr.c

index e9711b6044896f4cf51e0e3bf9912915efbe937c..1bbe7811cdbc12f40f61f7f97fea36fc465b1e4d 100644 (file)
@@ -290,7 +290,7 @@ static char *NAME(node_t * n)
     static char buf[20];
     if (ND_node_type(n) == NORMAL)
        return n->name;
-    sprintf(buf, "V%x", n);
+    sprintf(buf, "V%p", n);
     return buf;
 }