From e095469aa50d6ff082ffa1ec2bd65236e703ed19 Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Thu, 5 Jul 2012 11:21:04 -0400 Subject: [PATCH] Fix warning --- cmd/tools/gv2gml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/gv2gml.c b/cmd/tools/gv2gml.c index d08e2d4c7..2ada23f44 100644 --- a/cmd/tools/gv2gml.c +++ b/cmd/tools/gv2gml.c @@ -613,7 +613,7 @@ emitEdgeAttrs (Agraph_t* G, Agedge_t* ep, FILE* outFile, int ix) static void emitEdge (Agraph_t* G, Agedge_t* e, FILE* outFile) { - fprintf (outFile, " edge [\n id %lu\n", AGSEQ(e)); + fprintf (outFile, " edge [\n id %lu\n", (unsigned long)AGSEQ(e)); fprintf (outFile, " source %lu\n", ID(agtail(e))); fprintf (outFile, " target %lu\n", ID(aghead(e))); emitEdgeAttrs (G, e, outFile, 2); -- 2.40.0