summaryrefslogtreecommitdiffstats
path: root/usr.bin/rup/rup.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rup/rup.c')
-rw-r--r--usr.bin/rup/rup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rup/rup.c b/usr.bin/rup/rup.c
index aeadfc5..6d414b0 100644
--- a/usr.bin/rup/rup.c
+++ b/usr.bin/rup/rup.c
@@ -85,7 +85,7 @@ void remember_host(struct in_addr addr)
}
int
-rstat_reply(char *replyp, struct sockaddr_in *raddrp)
+rstat_reply(caddr_t replyp, struct sockaddr_in *raddrp)
{
struct tm *tmp_time;
struct tm host_time;
@@ -180,7 +180,7 @@ onehost(char *host)
}
addr.sin_addr.s_addr = *(int *)hp->h_addr;
- rstat_reply((char *)&host_stat, &addr);
+ rstat_reply((caddr_t)&host_stat, &addr);
return (0);
}
OpenPOWER on IntegriCloud