+Fri Mar 17 15:36:07 1995 Chris Provenzano (proven@mit.edu)
+
+ * kadmin_inq.c, kadmin.c:
+ Cast malloc() return value to shut compiler up.
Fri Mar 10 11:09:34 1995 Chris Provenzano (proven@mit.edu)
Mon Feb 06 17:19:04 1995 Chris Provenzano (proven@mit.edu)
- * kadmin.c Removed krb5_keytype, changed krb5_enctype to
+ * kadmin.c: Removed krb5_keytype, changed krb5_enctype to
krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *
for krb5_get_in_tkt_with_password() rotuine.
response->oper_code = data.data[1];
response->retn_code = data.data[2];
if (data.length > 3 && data.data[3]) {
- response->message = malloc(data.length - 2);
+ response->message = (char *)malloc(data.length - 2);
if (response->message) {
memcpy(response->message, data.data + 3, data.length - 3);
response->message[data.length - 3] = 0;
return(0);
}
- my_data = malloc(msg_data.length + 1);
+ my_data = (char *)malloc(msg_data.length + 1);
if (!my_data) {
fprintf(stderr, "kadmin_inq: Couldn't allocate space for my_data!\n");
exit(1);