summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-08 19:16:53 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-08 19:16:53 -0700
commit917269949545cf1ab1e0068cc2ba7c1f9a775012 (patch)
tree6ae761e7455ba9b665d82aa4b2667a47886efe3f
parentf846695df6b5d9543e12d1c8f04d9d7575df1ac6 (diff)
Fix -Wsign-compare warnings
viewres.c: In function ‘set_resource_labels’: viewres.c:313:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < node->nresources; i++, res++, wn++) { ^ viewres.c:329: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--viewres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewres.c b/viewres.c
index e215a97..74e402e 100644
--- a/viewres.c
+++ b/viewres.c
@@ -294,7 +294,7 @@ initialize_widgetnode_list (XmuWidgetNode ***listp, int *sizep, int n)
static Boolean
set_resource_labels (XmuWidgetNode *node)
{
- int i;
+ Cardinal i;
const char **cur;
XtResourceList res;
XmuWidgetNode **wn;