if (chmod (file, mode) < 0) {
advise (file, "chmod");
}
- } else if (st.st_size > (off_t) 0) {
+ } else if (st.st_size > 0) {
int status;
/* check the maildrop */
mbx_chk_mbox (int fd)
{
/* just seek to the end */
- if (lseek (fd, (off_t) 0, SEEK_END) == (off_t) NOTOK)
+ if (lseek(fd, 0, SEEK_END) == (off_t) NOTOK)
return NOTOK;
return OK;
}
fclose (fp);
- lseek (fd, (off_t) 0, SEEK_END);
+ lseek(fd, 0, SEEK_END);
return OK;
}