commit | f8cfeb25e62206aaf940b2aabf6a96c36ad4627d | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@diac24.net> | Thu Feb 16 04:31:08 2012 +0000 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed Feb 04 06:07:55 2015 +0100 |
tree | b585e4ca1a60c132329eef7c7ff589ed2103ce68 | |
parent | e269b968fdcd44d7a4043c4e67c3e008f85e7379 [diff] [blame] |
pimd: fix worst char * <> uint8_t * intermingling
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h index 29b5aee..cfe39ad 100644 --- a/pimd/pim_sock.h +++ b/pimd/pim_sock.h
@@ -45,7 +45,7 @@ struct in_addr group_addr, struct in_addr source_addr, const char *ifname); -int pim_socket_recvfromto(int fd, char *buf, size_t len, +int pim_socket_recvfromto(int fd, uint8_t *buf, size_t len, struct sockaddr_in *from, socklen_t *fromlen, struct sockaddr_in *to, socklen_t *tolen, int *ifindex);