diff options
Diffstat (limited to 'tcpip/rip98r.c')
-rw-r--r-- | tcpip/rip98r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcpip/rip98r.c b/tcpip/rip98r.c index 6082e65..7403898 100644 --- a/tcpip/rip98r.c +++ b/tcpip/rip98r.c @@ -206,7 +206,7 @@ void receive_routes(int s) for (route = first_route; route != NULL; route = route->next) { if (route->action == DEL_ROUTE) { - memset((char *)&rt, 0, sizeof(rt)); + memset(&rt, 0, sizeof(rt)); trg.sin_family = AF_INET; trg.sin_addr = route->addr; @@ -222,7 +222,7 @@ void receive_routes(int s) for (route = first_route; route != NULL; route = route->next) { if (route->action == NEW_ROUTE) { - memset((char *)&rt, 0, sizeof(rt)); + memset(&rt, 0, sizeof(rt)); trg.sin_family = AF_INET; trg.sin_addr = route->addr; |