diff options
-rw-r--r-- | src/tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c index 58ecd298b..b358295c3 100644 --- a/src/tail.c +++ b/src/tail.c @@ -952,7 +952,7 @@ tail_forever (struct File_spec *f, int nfiles) error (0, 0, _("%s: file truncated"), pretty_name (&f[i])); last = i; /* FIXME: check lseek return value */ - lseek (f[i].fd, stats.st_size, SEEK_SET); + lseek (f[i].fd, (off_t) stats.st_size, SEEK_SET); f[i].size = stats.st_size; continue; } |