diff --git a/src/ac/wtplist.c b/src/ac/wtplist.c index 5cf1f3e7..4132a479 100644 --- a/src/ac/wtplist.c +++ b/src/ac/wtplist.c @@ -109,7 +109,7 @@ struct wtpman * wtplist_get(const struct sockaddr * addr) struct wtpman * wtplist_add(struct wtpman * wtpman) { wtpman->conn->data=wtpman; - return connlist_add(connlist,wtpman->conn); + return (struct wtpman*)connlist_add(connlist,wtpman->conn); /*