From 7441d7fefd4b238fc75ab340eb595155e10256ea Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Thu, 5 Jul 2012 11:24:13 -0400 Subject: [PATCH] Fix warning --- plugin/gd/gvrender_gd_vrml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gd/gvrender_gd_vrml.c b/plugin/gd/gvrender_gd_vrml.c index a44c57311..a6f0571a1 100644 --- a/plugin/gd/gvrender_gd_vrml.c +++ b/plugin/gd/gvrender_gd_vrml.c @@ -113,7 +113,7 @@ static char *nodefilename(const char *filename, node_t * n, char *buf) #ifndef WITH_CGRAPH sprintf(buf, "%s/node%d.png", dir, AGSEQ(n)); #else - sprintf(buf, "%s/node%ld.png", dir, AGSEQ(n)); + sprintf(buf, "%s/node%ld.png", dir, (unsigned long)AGSEQ(n)); #endif return buf; } -- 2.40.0