diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-08 19:16:53 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-08 19:16:53 -0700 |
commit | 917269949545cf1ab1e0068cc2ba7c1f9a775012 (patch) | |
tree | 6ae761e7455ba9b665d82aa4b2667a47886efe3f | |
parent | f846695df6b5d9543e12d1c8f04d9d7575df1ac6 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |