* net.cc (gethostby_helper): Use correct signedness.
This commit is contained in:
parent
d8f253f952
commit
0a20e5a02b
|
@ -1,3 +1,7 @@
|
|||
2009-05-20 Eric Blake <ebb9@byu.net>
|
||||
|
||||
* net.cc (gethostby_helper): Use correct signedness.
|
||||
|
||||
2009-05-18 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* mount.cc (mount_info::add_item): Avoid using any-old '/' as
|
||||
|
|
|
@ -960,7 +960,8 @@ gethostby_helper (const char *name, const int af, const int type,
|
|||
|
||||
record * anptr = NULL, * prevptr = NULL, * curptr;
|
||||
int i, alias_count = 0, string_size = 0, address_count = 0;
|
||||
int complen, namelen1 = 0, address_len = 0, antype, anclass, ansize;
|
||||
int namelen1 = 0, address_len = 0, antype, anclass, ansize;
|
||||
unsigned complen;
|
||||
|
||||
/* Get the count of answers */
|
||||
ancount = ntohs (((HEADER *) msg)->ancount);
|
||||
|
|
Loading…
Reference in New Issue