From: Ken Raeburn Date: Fri, 5 Apr 2002 23:46:23 +0000 (+0000) Subject: * klist.c (one_addr): Make 0 unsigned (!) in conditional expression in X-Git-Tag: krb5-1.3-alpha1~793 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a4731131c862bd70672767d9f46850d3bbbf7d1;p=krb5.git * klist.c (one_addr): Make 0 unsigned (!) in conditional expression in getnameinfo call to avoid silly compiler warning. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14361 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index 2e5b11077..5d112621d 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,8 @@ +2002-04-05 Ken Raeburn + + * klist.c (one_addr): Make 0 unsigned (!) in conditional + expression in getnameinfo call to avoid silly compiler warning. + 2002-03-26 Ken Raeburn * klist.c: Include fake-addrinfo.h, not fake-addrinfo.c. diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index 763009ddf..5b40dbefd 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -707,7 +707,7 @@ void one_addr(a) namebuf[0] = 0; err = getnameinfo (ss2sa (&ss), socklen (ss2sa (&ss)), namebuf, sizeof (namebuf), 0, 0, - no_resolve ? NI_NUMERICHOST : 0); + no_resolve ? NI_NUMERICHOST : 0U); if (err) { printf ("unprintable address (type %d, error %d %s)", a->addrtype, err, gai_strerror (err));