summaryrefslogtreecommitdiffhomepage
path: root/util-linux/rdate.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-26 07:57:27 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-26 07:57:27 +0000
commitd1ee7e39f72411705a42a1d5b3fb0bf7afba22cf (patch)
treebe89ff3f3980dc527736fdb5cea96a19f456047a /util-linux/rdate.c
parent84bdc75c7e359358a21dd143edc3426a25a5950f (diff)
Silence a warning,
Diffstat (limited to 'util-linux/rdate.c')
-rw-r--r--util-linux/rdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/rdate.c b/util-linux/rdate.c
index 915c4bdd4..80b37de37 100644
--- a/util-linux/rdate.c
+++ b/util-linux/rdate.c
@@ -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);
}