1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 20:02:37 +00:00

tidy: Remove last caddr_t. (#365)

This cast isn't needed here and `caddr_t` is obsolete / not POSIX.
This commit is contained in:
Bruce Mitchener
2021-02-23 00:45:07 +07:00
committed by GitHub
parent 0129b50127
commit d8e063bf02

View File

@@ -121,7 +121,7 @@ LispPTR rpc(LispPTR *args)
/* Resolve the host address. */
if (hp) {
sin1.sin_family = hp->h_addrtype;
memcpy((caddr_t)&sin1.sin_addr, hp->h_addr, hp->h_length);
memcpy(&sin1.sin_addr, hp->h_addr, hp->h_length);
} else
goto handle_error;