From: Ken Raeburn Date: Tue, 15 Jun 2004 17:49:09 +0000 (+0000) Subject: * kt_file.c (krb5_kt_default_vno): Replaced variable with macro X-Git-Tag: krb5-1.4-beta1~330 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e66eabedb6a2db38dbfcb5ac9188be8715e924f1;p=krb5.git * kt_file.c (krb5_kt_default_vno): Replaced variable with macro git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16449 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/keytab/ChangeLog b/src/lib/krb5/keytab/ChangeLog index 88a97a9a0..eb1cb218d 100644 --- a/src/lib/krb5/keytab/ChangeLog +++ b/src/lib/krb5/keytab/ChangeLog @@ -1,3 +1,7 @@ +2004-06-15 Ken Raeburn + + * kt_file.c (krb5_kt_default_vno): Replaced variable with macro. + 2004-05-27 Ezra Peisach * ktbase.c: Include kt-int.h diff --git a/src/lib/krb5/keytab/kt_file.c b/src/lib/krb5/keytab/kt_file.c index 3175de751..377838e26 100644 --- a/src/lib/krb5/keytab/kt_file.c +++ b/src/lib/krb5/keytab/kt_file.c @@ -979,7 +979,7 @@ const krb5_kt_ops krb5_kt_dfl_ops = { typedef krb5_int16 krb5_kt_vno; -krb5_kt_vno krb5_kt_default_vno = KRB5_KT_DEFAULT_VNO; +#define krb5_kt_default_vno ((krb5_kt_vno)KRB5_KT_DEFAULT_VNO) #define xfwrite(a, b, c, d) fwrite((char *)a, b, (unsigned) c, d) #define xfread(a, b, c, d) fread((char *)a, b, (unsigned) c, d)