diff options
Diffstat (limited to 'posixtz.c')
-rw-r--r-- | posixtz.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ char *posix_tz(const char *filename) if (r != TZ_BUFLEN || strncmp(buf, "TZif", 4) != 0 || (unsigned char)buf[4] < 2 - || lseek(fd, -TZ_BUFLEN, SEEK_END) < 0 + || lseek(fd, (off_t) -TZ_BUFLEN, SEEK_END) < 0 ) goto ERROR; |