summaryrefslogtreecommitdiffstats
path: root/tcpip/rip98d.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpip/rip98d.c')
-rw-r--r--tcpip/rip98d.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpip/rip98d.c b/tcpip/rip98d.c
index b375d70..1fcc46c 100644
--- a/tcpip/rip98d.c
+++ b/tcpip/rip98d.c
@@ -173,7 +173,8 @@ static int load_dests(void)
return FALSE;
}
- memcpy((char *)&dest_list[dest_count].dest_addr, host->h_addr, host->h_length);
+ memcpy(&dest_list[dest_count].dest_addr, host->h_addr,
+ host->h_length);
dest_count++;
}