diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-03-04 14:11:56 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-03-04 14:11:56 +0100 |
commit | 52a90bc7c3be7cb3330d4b5a9254c59c046b5f18 (patch) | |
tree | f1a9081d66b3efd5cbd045fb7de3ce5929fc11ba | |
parent | e4e9ccc55c7cad1aaac8d84d6613188140a874e1 (diff) |
inotail.c: Datatype cleanup
-rw-r--r-- | inotail.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |