From: Matthew Fernandez Date: Sat, 5 Mar 2022 18:26:08 +0000 (-0800) Subject: Xlib plugin: squash some -Wsign-conversion warnings X-Git-Tag: 4.0.0~193^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9544647006bf7f0b77fbde57a0abf3d234ab19c5;p=graphviz Xlib plugin: squash some -Wsign-conversion warnings --- diff --git a/plugin/xlib/gvdevice_xlib.c b/plugin/xlib/gvdevice_xlib.c index 5758d907a..1ed26503f 100644 --- a/plugin/xlib/gvdevice_xlib.c +++ b/plugin/xlib/gvdevice_xlib.c @@ -74,8 +74,8 @@ static void handle_configure_notify(GVJ_t * job, XConfigureEvent * cev) if ((unsigned)cev->width > job->width || (unsigned)cev->height > job->height) job->has_grown = true; - job->width = cev->width; - job->height = cev->height; + job->width = (unsigned)cev->width; + job->height = (unsigned)cev->height; job->needs_refresh = true; }