From: Matthew Fernandez Date: Wed, 21 Apr 2021 01:16:05 +0000 (-0700) Subject: fix some casts to incorrect target type X-Git-Tag: 2.47.2~40^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03c0ab51cdfd80b0e8c6ee5d6af0cc2a1e4a055c;p=graphviz fix some casts to incorrect target type Removes two -Wsign-conversion warnings. --- diff --git a/plugin/core/gvrender_core_vml.c b/plugin/core/gvrender_core_vml.c index 03ae4d048..088c6f02c 100644 --- a/plugin/core/gvrender_core_vml.c +++ b/plugin/core/gvrender_core_vml.c @@ -255,8 +255,8 @@ static void vml_begin_graph(GVJ_t * job) obj_state_t *obj = job->obj; char *name; - graphHeight =(int)(job->bb.UR.y - job->bb.LL.y); - graphWidth =(int)(job->bb.UR.x - job->bb.LL.x); + graphHeight = (unsigned)(job->bb.UR.y - job->bb.LL.y); + graphWidth = (unsigned)(job->bb.UR.x - job->bb.LL.x); gvputs(job, ""); gvputs(job, "\n");