projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7489194
)
Use `int` for flags
author
Aaron Marcher
<me@drkhsh.at>
Sat, 19 May 2018 11:29:21 +0000
(13:29 +0200)
committer
Aaron Marcher
<me@drkhsh.at>
Sat, 19 May 2018 11:29:21 +0000
(13:29 +0200)
components/netspeeds.c
patch
|
blob
|
history
diff --git
a/components/netspeeds.c
b/components/netspeeds.c
index bdaf42011b60ab9be33375d48e9856f6a3391e4b..b4e6972133c9aae14fc70fd6f8c955c6ea2365cb 100644
(file)
--- 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;