Silence a warning,
This commit is contained in:
parent
84bdc75c7e
commit
d1ee7e39f7
2
rdate.c
2
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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user