diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-03 15:36:59 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-03 15:36:59 -0700 |
commit | 93112d07d66cd9ee93ef00527df1da39dfaf7290 (patch) | |
tree | 914832c37bf0ed3e17f6400db617343af4883f28 /ULabel.c | |
parent | 954fc5687b9805201c425fd3139acb6d19bd9bd5 (diff) |
Fix -Wsign-compare warning from gcc
ULabel.c: In function ‘SetValues’:
ULabel.c:670:19: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
for (i = 0; i < *num_args; i++) {
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'ULabel.c')
-rw-r--r-- | ULabel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -661,7 +661,7 @@ SetValues(Widget current, Widget request, Widget new, UCSLabelWidget curlw = (UCSLabelWidget) current; UCSLabelWidget reqlw = (UCSLabelWidget) request; UCSLabelWidget newlw = (UCSLabelWidget) new; - int i; + unsigned int i; Boolean was_resized = False, redisplay = False, checks[NUM_CHECKS]; for (i = 0; i < NUM_CHECKS; i++) |