]> diplodocus.org Git - nmh/commitdiff
Don't cast lseek(2)'s offset to off_t when it's 0.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 25 May 2017 17:12:55 +0000 (18:12 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Thu, 25 May 2017 17:12:55 +0000 (18:12 +0100)
`lseek(fd, (off_t)0, SEEK_SET)' does not need the cast when a prototype
is in scope, and <unistd.h> is #include'd.


No differences found