commit | d1ee7e39f72411705a42a1d5b3fb0bf7afba22cf | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Thu Oct 26 07:57:27 2000 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Thu Oct 26 07:57:27 2000 +0000 |
tree | be89ff3f3980dc527736fdb5cea96a19f456047a | |
parent | 84bdc75c7e359358a21dd143edc3426a25a5950f [diff] [blame] |
Silence a warning,
diff --git a/rdate.c b/rdate.c index 915c4bd..80b37de 100644 --- a/rdate.c +++ b/rdate.c
@@ -68,7 +68,7 @@ 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); }