getnameinfo call to avoid silly compiler warning.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14361
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-04-05 Ken Raeburn <raeburn@mit.edu>
+
+ * klist.c (one_addr): Make 0 unsigned (!) in conditional
+ expression in getnameinfo call to avoid silly compiler warning.
+
2002-03-26 Ken Raeburn <raeburn@mit.edu>
* klist.c: Include fake-addrinfo.h, not fake-addrinfo.c.
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));