From: Ezra Peisach Date: Fri, 8 Jun 2001 15:58:40 +0000 (+0000) Subject: * ad_print.c (ad_print): Cast arguments to printf() to longs to X-Git-Tag: krb5-1.3-alpha1~1452 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4036d4d7cc3716bf6bba9b36a3fc7a81c82a1843;p=krb5.git * ad_print.c (ad_print): Cast arguments to printf() to longs to match format string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13310 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 3360c8691..3e7316987 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,8 @@ +2001-06-08 Ezra Peisach + + * ad_print.c (ad_print): Cast arguments to printf() to longs to + match format string. + 2001-06-01 Ezra Peisach * g_krbrlm.c: Remove unused static variable krb_conf. diff --git a/src/lib/krb4/ad_print.c b/src/lib/krb4/ad_print.c index 56d4e4242..76db6a84b 100644 --- a/src/lib/krb4/ad_print.c +++ b/src/lib/krb4/ad_print.c @@ -34,7 +34,7 @@ ad_print(x) printf("\n%s %s %s ", x->pname, x->pinst, x->prealm); far_fputs (inet_ntoa(ina), stdout); printf(" flags %u cksum 0x%lX\n\ttkt_tm 0x%lX sess_key", - x->k_flags, x->checksum, x->time_sec); + x->k_flags, (long) x->checksum, (long) x->time_sec); printf("[8] ="); #ifdef NOENCRYPTION placebo_cblock_print(x->session); diff --git a/src/lib/krb4/rd_svc_key.c b/src/lib/krb4/rd_svc_key.c index a9b6fd5d5..9659b7434 100644 --- a/src/lib/krb4/rd_svc_key.c +++ b/src/lib/krb4/rd_svc_key.c @@ -15,6 +15,7 @@ #include "k5-int.h" #include +#include "prot.h" extern char *krb__get_srvtabname();