* klist.c (one_addr): gethostbyaddr takes an int as second argument
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:12:04 +0000 (23:12 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:12:04 +0000 (23:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12798 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/klist/ChangeLog
src/clients/klist/klist.c

index 559ac9f46eac538e4080875a12e1e72677d29568..13baa14b285ed8785d48fc91dd17792bf178d995 100644 (file)
@@ -1,3 +1,7 @@
+2000-10-17  Ezra Peisach  <epeisach@mit.edu>
+
+       * klist.c (one_addr): gethostbyaddr takes an int as second argument.
+
 2000-10-09  Tom Yu  <tlyu@mit.edu>
 
        * klist.c (do_v4_ccache): Call life_to_time().
index c2d37b9539aa867303e37301d27b50b9f253cb91..60a12173033c7404deec9dfe702aeedac8c0115f 100644 (file)
@@ -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);
            }