diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-01 21:36:43 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-01 21:36:43 -0400 |
commit | e4ecafe004b3d4270b3a9dace8f970047400ed38 (patch) | |
tree | 04be7cc5057d84b2b89a6acda3b859bb87fee2b5 /inet | |
parent | 125ee683b3bfcd3868ffc29d5ee303433383312d (diff) | |
download | glibc-e4ecafe004b3d4270b3a9dace8f970047400ed38.tar.gz glibc-e4ecafe004b3d4270b3a9dace8f970047400ed38.tar.xz glibc-e4ecafe004b3d4270b3a9dace8f970047400ed38.zip |
Fix getnameinfo flags parameter type.
Diffstat (limited to 'inet')
-rw-r--r-- | inet/getnameinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c index db6b5c7eee..6fb6ad6e1d 100644 --- a/inet/getnameinfo.c +++ b/inet/getnameinfo.c @@ -159,7 +159,7 @@ nrl_domainname (void) int getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, - unsigned int flags) + int flags) { int serrno = errno; int tmpbuflen = 1024; @@ -385,7 +385,7 @@ getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host, break; default: - return EAI_FAMILY; + return EAI_FAMILY; } if (serv && (servlen > 0)) |