Fix compile warnings

This commit is contained in:
hawken93 2014-10-04 01:14:19 +02:00
commit 67d343fd3a
3 changed files with 3 additions and 3 deletions

View file

@ -170,7 +170,7 @@ GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip)
}
/* Connect to socket with ip address */
GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip)
GIOChannel *net_connect_ip(const IPADDR *ip, int port, IPADDR *my_ip)
{
union sockaddr_union so;
int handle, ret, opt = 1;