diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-17 14:10:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-17 14:10:52 +0000 |
commit | a10a5f3a933644b07690c54020ef7972d75848fb (patch) | |
tree | c8138be62b74daac451cf2274224439a925e8c0d | |
parent | 3e94e8645c6f646326f6c12ddefacb6522f0c461 (diff) | |
download | coreutils-a10a5f3a933644b07690c54020ef7972d75848fb.tar.xz |
(tail_forever): Add a cast.
-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; } |