all counters are signed ints

This commit is contained in:
Alexandre Ratchov 2014-11-17 08:08:10 +01:00
parent 4e01a1289d
commit fab9d738ac
1 changed files with 1 additions and 1 deletions

View File

@ -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)