diff options
author | Timo Sirainen <cras@irssi.org> | 2002-12-10 16:36:26 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-12-10 16:36:26 +0000 |
commit | 0743ce0e39c1bd43ca2b473593452d21514b38a1 (patch) | |
tree | cf250403c969130625020b33eb3b93289a8b1d82 | |
parent | 78b5867f3feb2aacc6fbdc4b4279fb63f9ad0cba (diff) | |
download | irssi-0743ce0e39c1bd43ca2b473593452d21514b38a1.zip |
Compiler warning fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3054 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/core/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network.c b/src/core/network.c index 64605413..ab19aab0 100644 --- a/src/core/network.c +++ b/src/core/network.c @@ -492,7 +492,7 @@ int net_gethostbyaddr(IPADDR *ip, char **name) *name = g_strdup(hostname); #else if (ip->family != AF_INET) return -1; - hp = gethostbyaddr(&ip->ip, 4, AF_INET); + hp = gethostbyaddr((const char *) &ip->ip, 4, AF_INET); if (hp == NULL) return -1; *name = g_strdup(hp->h_name); |