[hackers] [slstatus] Use `int` for flags || Aaron Marcher
commit d47d78255ef8ede773c69a97e2cb5de78cee7da9
Author: Aaron Marcher <me_AT_drkhsh.at>
AuthorDate: Sat May 19 13:29:21 2018 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Sat May 19 13:29:21 2018 +0200
Use `int` for flags
diff --git a/components/netspeeds.c b/components/netspeeds.c
index bdaf420..b4e6972 100644
--- a/components/netspeeds.c
+++ b/components/netspeeds.c
_AT_@ -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;
_AT_@ -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;
Received on Sat May 19 2018 - 13:29:45 CEST
This archive was generated by hypermail 2.3.0
: Sat May 19 2018 - 13:36:30 CEST