aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon/netstats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firemon/netstats.c')
-rw-r--r--src/firemon/netstats.c2
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)