Corrected type casting in return value of wtp_add.

FossilOrigin-Name: ec958920e6ea5132ea215d69bd20f6bbd12aedc59af579c9cc3383865089a4f4
This commit is contained in:
7u83@mail.ru 2014-08-23 10:05:17 +00:00
parent 9a5c17559d
commit d6bdc8bade
1 changed files with 1 additions and 1 deletions

View File

@ -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);
/*