summaryrefslogtreecommitdiff
path: root/components/netspeeds.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-19 13:29:21 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-19 13:29:21 +0200
commitd47d78255ef8ede773c69a97e2cb5de78cee7da9 (patch)
treec0e4833ac54785d8234304e6bdad52bdaadc9528 /components/netspeeds.c
parent74891945d897530b30c2c29844808d63bff625b7 (diff)
Use `int` for flags
Diffstat (limited to 'components/netspeeds.c')
-rw-r--r--components/netspeeds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/netspeeds.c b/components/netspeeds.c
index bdaf420..b4e6972 100644
--- a/components/netspeeds.c
+++ b/components/netspeeds.c
@@ -61,7 +61,7 @@
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 @@
uint64_t oldtxbytes;
static uint64_t txbytes = 0;
extern const unsigned int interval;
- char if_ok = 0;
+ int if_ok = 0;
oldtxbytes = txbytes;