Commit 2ff1fdfe authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Make buffers unsigned.

What was I thinking?
parent 04047250
...@@ -84,7 +84,7 @@ struct interface_conf { ...@@ -84,7 +84,7 @@ struct interface_conf {
struct buffered { struct buffered {
struct sockaddr_in6 sin6; struct sockaddr_in6 sin6;
char *buf; unsigned char *buf;
int len; int len;
int size; int size;
int flush_interval; int flush_interval;
......
...@@ -77,7 +77,7 @@ find_neighbour(const unsigned char *address, struct interface *ifp) ...@@ -77,7 +77,7 @@ find_neighbour(const unsigned char *address, struct interface *ifp)
{ {
struct neighbour *neigh; struct neighbour *neigh;
const struct timeval zero = {0, 0}; const struct timeval zero = {0, 0};
char *buf; unsigned char *buf;
neigh = find_neighbour_nocreate(address, ifp); neigh = find_neighbour_nocreate(address, ifp);
if(neigh) if(neigh)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment