mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
output: fix sign-compare warning [clang]
output.c:819:17: warning: comparison of integers of different signs:
'int' and ' unsigned int' [-Wsign-compare]
for (i = 0; i < num_ranges; i++) {
~ ^ ~~~~~~~~~~
output.c:832:17: warning: comparison of integers of different signs:
'int' and ' unsigned int' [-Wsign-compare]
for (i = 0; i < num_shared_networks; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
e8acaa42c8
commit
b15e63afd2
1 changed files with 1 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ int output_alarming(void)
|
|||
FILE *outfile;
|
||||
struct range_t *range_p;
|
||||
struct shared_network_t *shared_p;
|
||||
int i;
|
||||
unsigned int i;
|
||||
float perc;
|
||||
int rw = 0, rc = 0, ro = 0, sw = 0, sc = 0, so = 0;
|
||||
int ret_val, ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue