Commit a312127c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

made gcc -Wcast-align happy

parent 1dc5bf4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -911,7 +911,7 @@ ftp_pasv_verbose(struct connectdata *conn,
#  ifdef HAVE_GETHOSTBYADDR_R_7
#  ifdef HAVE_GETHOSTBYADDR_R_7
  /* Solaris and IRIX */
  /* Solaris and IRIX */
  answer = gethostbyaddr_r((char *) &address, sizeof(address), AF_INET,
  answer = gethostbyaddr_r((char *) &address, sizeof(address), AF_INET,
                           (struct hostent *)hostent_buf,
                           (struct hostent *)bigbuf,
                           hostent_buf + sizeof(*answer),
                           hostent_buf + sizeof(*answer),
                           sizeof(hostent_buf) - sizeof(*answer),
                           sizeof(hostent_buf) - sizeof(*answer),
                           &h_errnop);
                           &h_errnop);