Use `int` for flags
Aaron Marcher me@drkhsh.at
Sat, 19 May 2018 13:29:21 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
components/netspeeds.c
→
components/netspeeds.c
@@ -61,7 +61,7 @@ struct if_data *ifd;
uint64_t oldrxbytes; static uint64_t rxbytes = 0; extern const unsigned int interval; - char if_ok = 0; + int if_ok = 0; oldrxbytes = rxbytes;@@ -94,7 +94,7 @@ struct if_data *ifd;
uint64_t oldtxbytes; static uint64_t txbytes = 0; extern const unsigned int interval; - char if_ok = 0; + int if_ok = 0; oldtxbytes = txbytes;