From 9a66de0affda080685bb24a88bad0e401f775dc0 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sat, 21 May 2016 10:31:21 +0200 Subject: [PATCH] Fixed tx/rx counters type --- src/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty.c b/src/tty.c index 51c609c..0149e7a 100644 --- a/src/tty.c +++ b/src/tty.c @@ -41,7 +41,7 @@ #include "tio/error.h" static struct termios new_stdout, old_stdout, old_tio; -static long rx_total = 0, tx_total = 0; +static unsigned long rx_total = 0, tx_total = 0; static bool connected = false; static bool tainted = false; static int fd;