From fab9d738acf873f40a67a6ebc68a0054fd916f64 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Mon, 17 Nov 2014 08:08:10 +0100 Subject: [PATCH] all counters are signed ints --- sndiod/abuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sndiod/abuf.c b/sndiod/abuf.c index 2f1d47b..0c3cf0d 100644 --- a/sndiod/abuf.c +++ b/sndiod/abuf.c @@ -72,7 +72,7 @@ abuf_done(struct abuf *buf) unsigned char * abuf_rgetblk(struct abuf *buf, int *rsize) { - unsigned int count; + int count; count = buf->len - buf->start; if (count > buf->used)