summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-07-08 19:51:22 +0200
committerJim Meyering <meyering@redhat.com>2009-07-08 19:52:58 +0200
commit3639a880aa9778bd6f30be4e953ad9b1171110a1 (patch)
tree22a5f4d1709364e6d46fb2d6e3b457f88a0342a4 /src
parentec34511ccf89968a6f112587dde65476c02b94aa (diff)
downloadcoreutils-3639a880aa9778bd6f30be4e953ad9b1171110a1.tar.xz
tail: declare "file descriptor" variable to be "int", not size_t
* src/tail.c (tail_forever_inotify): Use "int", not size_t as the type of a file descriptor variable.
Diffstat (limited to 'src')
-rw-r--r--src/tail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c
index b3ebba9d6..79c557636 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -1169,7 +1169,7 @@ tail_forever_inotify (int wd, struct File_spec *f, int n_files)
Hash_table *wd_table;
bool found_watchable = false;
- size_t prev_wd;
+ int prev_wd;
size_t evlen = 0;
char *evbuf;
size_t evbuf_off = 0;