From: Ralph Corderoy Date: Thu, 25 May 2017 17:12:55 +0000 (+0100) Subject: Don't cast lseek(2)'s offset to off_t when it's 0. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/0bb0a48241ac6130afe4cf8eb5616f2f33ee1a84?hp=0bb0a48241ac6130afe4cf8eb5616f2f33ee1a84 Don't cast lseek(2)'s offset to off_t when it's 0. `lseek(fd, (off_t)0, SEEK_SET)' does not need the cast when a prototype is in scope, and is #include'd. ---