diff --git a/interface.h b/interface.h index 24c1ec8749ca7d42e9eb8ce3a262fa2a9fd17563..2b70a2832cda78d7b783402678dcfe8b95c1f1fd 100644 --- a/interface.h +++ b/interface.h @@ -84,7 +84,7 @@ struct interface_conf { struct buffered { struct sockaddr_in6 sin6; - char *buf; + unsigned char *buf; int len; int size; int flush_interval; diff --git a/neighbour.c b/neighbour.c index 260576b1197b89d8c947088f953e1a12978b5f1b..4e9bc4eb4d3c1e5b3138effeff8aef004f7f3188 100644 --- a/neighbour.c +++ b/neighbour.c @@ -77,7 +77,7 @@ find_neighbour(const unsigned char *address, struct interface *ifp) { struct neighbour *neigh; const struct timeval zero = {0, 0}; - char *buf; + unsigned char *buf; neigh = find_neighbour_nocreate(address, ifp); if(neigh)