Silence a warning,

This commit is contained in:
Eric Andersen 2000-10-26 07:57:27 +00:00
parent 84bdc75c7e
commit d1ee7e39f7
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ time_t askremotedate(char *host)
close(fd); close(fd);
return(-1); return(-1);
} }
if (read(fd, &nett, 4) != 4) { /* read time from server */ if (read(fd, (void *)&nett, 4) != 4) { /* read time from server */
close(fd); close(fd);
errorMsg("%s did not send the complete time\n", host); errorMsg("%s did not send the complete time\n", host);
} }

View File

@ -68,7 +68,7 @@ time_t askremotedate(char *host)
close(fd); close(fd);
return(-1); return(-1);
} }
if (read(fd, &nett, 4) != 4) { /* read time from server */ if (read(fd, (void *)&nett, 4) != 4) { /* read time from server */
close(fd); close(fd);
errorMsg("%s did not send the complete time\n", host); errorMsg("%s did not send the complete time\n", host);
} }