From a10a5f3a933644b07690c54020ef7972d75848fb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 17 Nov 2001 14:10:52 +0000 Subject: (tail_forever): Add a cast. --- src/tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tail.c') 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; } -- cgit v1.2.3-54-g00ecf