+Fri Sep 22 22:27:33 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * asn1_k_decode.c (asn1_decode_etype_info_entry):
+ * krb5_decode.c (decode_krb5_alt_method): Remove the (int) cast,
+ since you can't take address of a value which has been
+ casted. Instead we change the underlying type in the
+ structure to be an int.
+
Wed Sep 13 10:51:31 1995 Keith Vetter (keithv@fusion.com)
* asn1_k_decode.c, asn1_k_encode.c, krb5_dec.c, krb5_enc.c: 32
{ begin_structure();
get_field(val->etype,0,asn1_decode_ui_4);
if (tagnum == 1) {
- get_lenfield((int) val->length,val->salt,1,asn1_decode_octetstring);
+ get_lenfield(val->length,val->salt,1,asn1_decode_octetstring);
} else {
val->length = 0;
val->salt = 0;
setup(free);
alloc_field(*rep,krb5_alt_method);
{ begin_structure();
- get_field((int) (*rep)->method,0,asn1_decode_int);
+ get_field((*rep)->method,0,asn1_decode_int32);
if (tagnum == 1) {
- get_lenfield((int) (*rep)->length,(*rep)->data,1,asn1_decode_octetstring);
+ get_lenfield((*rep)->length,(*rep)->data,1,asn1_decode_octetstring);
} else {
(*rep)->length = 0;
(*rep)->data = 0;