From 9544647006bf7f0b77fbde57a0abf3d234ab19c5 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 5 Mar 2022 10:26:08 -0800 Subject: [PATCH] Xlib plugin: squash some -Wsign-conversion warnings --- plugin/xlib/gvdevice_xlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.40.0