From: Ezra Peisach Date: Thu, 16 Jul 1998 14:01:13 +0000 (+0000) Subject: * changepw.c (krb5_change_password): Changes casts from char * to X-Git-Tag: krb5-1.1-beta1~646 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b11ca45ab47f8c595b0da21c97bbdc4b08864917;p=krb5.git * changepw.c (krb5_change_password): Changes casts from char * to krb5_octet * to match krb5_address structure elements. Essentially char * vs. unsigned char * warning... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10649 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 9013ce50f..921d8d3c4 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 16 09:59:34 1998 Ezra Peisach + + * changepw.c (krb5_change_password): Changes casts from char * to + krb5_octet * to match krb5_address structure elements. + Wed Jul 1 17:54:56 1998 Theodore Y. Ts'o * macsock.c(inet_ntoa): Fix obvious bug where we were returning a diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index 9ac6ee834..cd447c0a3 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -250,7 +250,7 @@ krb5_change_password(context, creds, newpw, result_code, local_kaddr.length = sizeof(((struct sockaddr_in *) &local_addr)->sin_addr); local_kaddr.contents = - (char *) &(((struct sockaddr_in *) &local_addr)->sin_addr); + (krb5_octet *) &(((struct sockaddr_in *) &local_addr)->sin_addr); } else { krb5_address **addrs; @@ -281,7 +281,7 @@ krb5_change_password(context, creds, newpw, result_code, remote_kaddr.length = sizeof(((struct sockaddr_in *) &remote_addr)->sin_addr); remote_kaddr.contents = - (char *) &(((struct sockaddr_in *) &remote_addr)->sin_addr); + (krb5_octet *) &(((struct sockaddr_in *) &remote_addr)->sin_addr); /* mk_priv requires that the local address be set. getsockname is used for this. rd_priv requires that the