From: Theodore Tso Date: Tue, 13 Feb 1996 03:42:47 +0000 (+0000) Subject: Fix lint flame (added missing cast) X-Git-Tag: krb5-1.0-beta6~514 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=431882148042593fd720199409d00ca013094c01;p=krb5.git Fix lint flame (added missing cast) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7474 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index ca4ac1953..8549d29f0 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,7 @@ +Mon Feb 12 22:41:06 1996 Theodore Y. Ts'o + + * kcmd.c (kcmd): Fix lint flame (added missing cast). + Fri Feb 9 21:43:50 1996 Sam Hartman * krsh.c (main): Only print secure_message if encrypt_flag set. diff --git a/src/appl/bsd/kcmd.c b/src/appl/bsd/kcmd.c index 0d05b1173..b5681cd41 100644 --- a/src/appl/bsd/kcmd.c +++ b/src/appl/bsd/kcmd.c @@ -126,7 +126,7 @@ sprintf(cksumbuf, "%u:", ntohs(rport)); return (-1); } - if ((host_save = malloc(strlen(hp->h_name) + 1)) == NULL) { + if ((host_save = (char *) malloc(strlen(hp->h_name) + 1)) == NULL) { fprintf(stderr,"kcmd: no memory\n"); return(-1); }