mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Enabled lots of GCC warnings, fixed those that were easy to fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f8aa81b73c
commit
dcc2e89b2e
25 changed files with 84 additions and 106 deletions
|
|
@ -403,7 +403,7 @@ int net_ip2host(IPADDR *ip, char *host)
|
|||
|
||||
ip4 = ntohl(ip->addr.ip.s_addr);
|
||||
sprintf(host, "%lu.%lu.%lu.%lu",
|
||||
(ip4 & 0xff000000) >> 24,
|
||||
(ip4 & 0xff000000UL) >> 24,
|
||||
(ip4 & 0x00ff0000) >> 16,
|
||||
(ip4 & 0x0000ff00) >> 8,
|
||||
(ip4 & 0x000000ff));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue