summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-01-01 14:53:54 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-01-01 14:53:54 -0800
commit1654e7338075ee23bdb50037e7d69cb9e577d38d (patch)
treef6fe7a1879c98f7ab913e7d1b580d43f68e98394
parent43ade693674ac5828288f9a6e318d336a91b2cce (diff)
Fix -Wsign-compare warning in recurse_win_tree()
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<nchildren; i++) ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xrestop.c2
1 files changed, 1 insertions, 1 deletions
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;