krb5_octet *.
(tcl_kadm5_free_principal_ent, tcl_kadm5_free_policy_ent): Add
cast to value returned by Tcl_GetHashValue.
* tcl_ovsec_kadm.c (tcl_ovsec_kadm_free_principal_ent): Cast
return of Tcl_GetHashValue.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10650
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Jul 16 10:20:20 1998 Ezra Peisach <epeisach@mit.edu>
+
+ * tcl_kadm5.c (parse_tl_data): Change cast from char * to
+ krb5_octet *.
+ (tcl_kadm5_free_principal_ent, tcl_kadm5_free_policy_ent): Add
+ cast to value returned by Tcl_GetHashValue.
+
+ * tcl_ovsec_kadm.c (tcl_ovsec_kadm_free_principal_ent): Cast
+ return of Tcl_GetHashValue.
+
Fri Feb 27 23:32:38 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Changed thisconfigdir to point at the kadmin
retcode = TCL_ERROR;
goto finished;
}
- tl->tl_data_contents = (char *) malloc(tmp+1);
+ tl->tl_data_contents = (krb5_octet *) malloc(tmp+1);
strcpy(tl->tl_data_contents, argv1[2]);
free(argv1);
return TCL_ERROR;
}
- ent = Tcl_GetHashValue(entry);
+ ent = (kadm5_principal_ent_t) Tcl_GetHashValue(entry);
if (ret = kadm5_free_principal_ent(server_handle, ent)) {
stash_error(interp, ret);
return TCL_ERROR;
}
- ent = Tcl_GetHashValue(entry);
+ ent = (kadm5_policy_ent_t) Tcl_GetHashValue(entry);
if (ret = kadm5_free_policy_ent(server_handle, ent)) {
stash_error(interp, ret);
return TCL_ERROR;
}
- ent = Tcl_GetHashValue(entry);
+ ent = (ovsec_kadm_principal_ent_t) Tcl_GetHashValue(entry);
if (ret = ovsec_kadm_free_principal_ent(server_handle, ent)) {
stash_error(interp, ret);
return TCL_ERROR;
}
- ent = Tcl_GetHashValue(entry);
+ ent = (ovsec_kadm_policy_ent_t) Tcl_GetHashValue(entry);
if (ret = ovsec_kadm_free_policy_ent(server_handle, ent)) {
stash_error(interp, ret);