From 19034701acd7f86a80303a34366fe6d1db378dd4 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 6 Nov 2008 16:20:57 +0000 Subject: [PATCH] suppress compiler warning due to cgraph code --- plugin/gd/gvrender_gd_vrml.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/gd/gvrender_gd_vrml.c b/plugin/gd/gvrender_gd_vrml.c index 6555b543a..c9b0e34c4 100644 --- a/plugin/gd/gvrender_gd_vrml.c +++ b/plugin/gd/gvrender_gd_vrml.c @@ -113,7 +113,11 @@ static char *nodefilename(const char *filename, node_t * n, char *buf) else dir = "."; } +#ifndef WITH_CGRAPH + sprintf(buf, "%s/node%d.png", dir, AGID(n)); +#else sprintf(buf, "%s/node%ld.png", dir, AGID(n)); +#endif return buf; } -- 2.40.0