From 598b026aa03f54812f833e4921c040c028faf281 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 17 Oct 2000 23:12:04 +0000 Subject: [PATCH] * klist.c (one_addr): gethostbyaddr takes an int as second argument git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12798 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/klist/ChangeLog | 4 ++++ src/clients/klist/klist.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index 559ac9f46..13baa14b2 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,7 @@ +2000-10-17 Ezra Peisach + + * klist.c (one_addr): gethostbyaddr takes an int as second argument. + 2000-10-09 Tom Yu * klist.c (do_v4_ccache): Call life_to_time(). diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index c2d37b953..60a121730 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -670,7 +670,7 @@ void one_addr(a) freehostent(h); } #else - h = gethostbyaddr(a->contents, a->length, af); + h = gethostbyaddr(a->contents, (int) a->length, af); if (h) { printf("%s", h->h_name); } -- 2.26.2