diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-01-18 12:56:10 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-01-18 12:56:10 +0000 |
| commit | a312127c9130d9874b265b580910055b0d1efe7b (patch) | |
| tree | d62b70076f29fb7a3a71724a248771f9fd46a327 /lib | |
| parent | 1dc5bf4f73703f7a7ba0f846b183660b44130d50 (diff) | |
made gcc -Wcast-align happy
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -911,7 +911,7 @@ ftp_pasv_verbose(struct connectdata *conn, # ifdef HAVE_GETHOSTBYADDR_R_7 /* Solaris and IRIX */ answer = gethostbyaddr_r((char *) &address, sizeof(address), AF_INET, - (struct hostent *)hostent_buf, + (struct hostent *)bigbuf, hostent_buf + sizeof(*answer), sizeof(hostent_buf) - sizeof(*answer), &h_errnop); |
