diff options
author | 2015-08-20 10:00:28 -0400 | |
---|---|---|
committer | 2015-08-20 10:00:28 -0400 | |
commit | 5c0edb3435a07372bf89ef19e9730066aecc6b8c (patch) | |
tree | 062b9bc20a9d8f9ee9be39ce30638ca0f0266cf0 /src/firemon/netstats.c | |
parent | testing (diff) | |
parent | Compile with -W -Wall -Werror (diff) | |
download | firejail-5c0edb3435a07372bf89ef19e9730066aecc6b8c.tar.gz firejail-5c0edb3435a07372bf89ef19e9730066aecc6b8c.tar.zst firejail-5c0edb3435a07372bf89ef19e9730066aecc6b8c.zip |
Merge pull request #35 from pmillerchip/warnings-cleanup
Compile with -W -Wall -Werror
Diffstat (limited to 'src/firemon/netstats.c')
-rw-r--r-- | src/firemon/netstats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firemon/netstats.c b/src/firemon/netstats.c index 6c4a767f1..3f1e00ee9 100644 --- a/src/firemon/netstats.c +++ b/src/firemon/netstats.c | |||
@@ -195,7 +195,7 @@ void netstats(void) { | |||
195 | // start printing | 195 | // start printing |
196 | firemon_clrscr(); | 196 | firemon_clrscr(); |
197 | char *header = get_header(); | 197 | char *header = get_header(); |
198 | if (strlen(header) > col) | 198 | if (strlen(header) > (size_t)col) |
199 | header[col] = '\0'; | 199 | header[col] = '\0'; |
200 | printf("%s\n", header); | 200 | printf("%s\n", header); |
201 | if (row > 0) | 201 | if (row > 0) |