Use `int` for flags
This commit is contained in:
parent
74891945d8
commit
d47d78255e
|
@ -61,7 +61,7 @@
|
||||||
uint64_t oldrxbytes;
|
uint64_t oldrxbytes;
|
||||||
static uint64_t rxbytes = 0;
|
static uint64_t rxbytes = 0;
|
||||||
extern const unsigned int interval;
|
extern const unsigned int interval;
|
||||||
char if_ok = 0;
|
int if_ok = 0;
|
||||||
|
|
||||||
oldrxbytes = rxbytes;
|
oldrxbytes = rxbytes;
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
uint64_t oldtxbytes;
|
uint64_t oldtxbytes;
|
||||||
static uint64_t txbytes = 0;
|
static uint64_t txbytes = 0;
|
||||||
extern const unsigned int interval;
|
extern const unsigned int interval;
|
||||||
char if_ok = 0;
|
int if_ok = 0;
|
||||||
|
|
||||||
oldtxbytes = txbytes;
|
oldtxbytes = txbytes;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue