Silence a warning,

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

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ time_t askremotedate(char *host)
close(fd);
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);
errorMsg("%s did not send the complete time\n", host);
}
+1 -1
View File
@@ -68,7 +68,7 @@ time_t askremotedate(char *host)
close(fd);
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);
errorMsg("%s did not send the complete time\n", host);
}