Xinqi Bao's Git

Use `int` for flags
authorAaron Marcher <[email protected]>
Sat, 19 May 2018 11:29:21 +0000 (13:29 +0200)
committerAaron Marcher <[email protected]>
Sat, 19 May 2018 11:29:21 +0000 (13:29 +0200)
components/netspeeds.c

index bdaf420..b4e6972 100644 (file)
@@ -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;