diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-19 13:25:39 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-19 13:25:39 +0000 |
commit | 1588eefb6be4303a88804a8079c47c29239bc01e (patch) | |
tree | f18de1e67b0af9fa35522bca7b62b804be7b0ea5 /src/common/socket.c | |
parent | 5208a0be9d90add076d1d7646e074085ccce4b77 (diff) | |
download | hercules-1588eefb6be4303a88804a8079c47c29239bc01e.tar.gz hercules-1588eefb6be4303a88804a8079c47c29239bc01e.tar.bz2 hercules-1588eefb6be4303a88804a8079c47c29239bc01e.tar.xz hercules-1588eefb6be4303a88804a8079c47c29239bc01e.zip |
Fixed some gcc4 warnings
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8807 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.c')
-rw-r--r-- | src/common/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c index 450f6d09b..b5eda7b27 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -1346,7 +1346,7 @@ bool session_isActive(int fd) in_addr_t resolve_hostbyname(char* hostname, unsigned char *ip, char *ip_str) {
struct hostent *h = gethostbyname(hostname);
- unsigned char ip_buf[16];
+ char ip_buf[16];
unsigned char ip2[4];
if (!h) return 0;
if (ip == NULL) ip = ip2;
|