From 1654e7338075ee23bdb50037e7d69cb9e577d38d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 1 Jan 2019 14:53:54 -0800 Subject: Fix -Wsign-compare warning in recurse_win_tree() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xrestop.c: In function ‘recurse_win_tree’: xrestop.c:358:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i --- xrestop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xrestop.c b/xrestop.c index 154bed6..e88fe6e 100644 --- a/xrestop.c +++ b/xrestop.c @@ -336,7 +336,7 @@ recurse_win_tree(XResTopApp *app, XResTopClient *client, Window win_top) { Window *children, dummy; unsigned int nchildren; - int i; + unsigned int i; XID w = 0; Status qtres; -- cgit v1.2.3