From 52a90bc7c3be7cb3330d4b5a9254c59c046b5f18 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 4 Mar 2007 14:11:56 +0100 Subject: inotail.c: Datatype cleanup --- inotail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inotail.c b/inotail.c index 784b7bf..5a58a92 100644 --- a/inotail.c +++ b/inotail.c @@ -123,8 +123,8 @@ static off_t lines_to_offset_from_end(struct file_struct *f, unsigned long n_lin n_lines++; /* We also count the last \n */ while (offset > 0 && n_lines > 0) { - int i, rc; - int block_size = BUFFER_SIZE; /* Size of the current block we're reading */ + int i; + ssize_t rc, block_size = BUFFER_SIZE; /* Size of the current block we're reading */ if (offset < BUFFER_SIZE) block_size = offset; -- cgit v1.2.3-54-g00ecf