From 50d2b2167144eed2d8995f9d4d7bd82c1be83967 Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Mon, 24 Oct 2011 16:07:32 -0400 Subject: [PATCH] Fix printf for pointer type --- lib/dotgen/fastgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dotgen/fastgr.c b/lib/dotgen/fastgr.c index e9711b604..1bbe7811c 100644 --- a/lib/dotgen/fastgr.c +++ b/lib/dotgen/fastgr.c @@ -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; } -- 2.40.0