summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-08 18:33:38 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-08 18:33:38 -0700
commitc29b2a9e452d660a334013eaa2a3497ffe3b37f4 (patch)
tree9f1ba4f75eec71dbdf0d198cc4dbc4f2a818296e
parentaf3e08de98ba89d090243ef217636678f7a42831 (diff)
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 <alan.coopersmith@oracle.com>
-rw-r--r--listres.c2
1 files changed, 1 insertions, 1 deletions
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;