Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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);
}