From c29b2a9e452d660a334013eaa2a3497ffe3b37f4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 8 Jun 2019 18:33:38 -0700 Subject: Fix -Wsign-compare warnings listres.c:174:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < node->nresources; i++, res++, wn++) { ^ listres.c:186:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < node->nconstraints; i++, res++, wn++) { ^ Signed-off-by: Alan Coopersmith --- listres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listres.c b/listres.c index 2317473..ee62f5c 100644 --- a/listres.c +++ b/listres.c @@ -167,7 +167,7 @@ static void print_resources (XmuWidgetNode *node, const char *format, XmuWidgetNode *topnode, Bool showsuper, Bool showvar) { - int i; + Cardinal i; XtResourceList res = node->resources; XmuWidgetNode **wn = node->resourcewn; -- cgit v1.2.3