diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-08 18:33:38 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-08 18:33:38 -0700 |
commit | c29b2a9e452d660a334013eaa2a3497ffe3b37f4 (patch) | |
tree | 9f1ba4f75eec71dbdf0d198cc4dbc4f2a818296e | |
parent | af3e08de98ba89d090243ef217636678f7a42831 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |