From: Ezra Peisach Date: Tue, 17 Oct 2000 23:06:48 +0000 (+0000) Subject: * ovsec_kadmd.c (do_schpw): Cast arguments to sendto() which take int X-Git-Tag: krb5-1.3-alpha1~1810 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=edca4a3fd9b019c47a0fa019e9407a33391af1f6;p=krb5.git * ovsec_kadmd.c (do_schpw): Cast arguments to sendto() which take int git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12793 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index ee2192342..a1d005d25 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,7 @@ +2000-10-17 Ezra Peisach + + * ovsec_kadmd.c (do_schpw): Cast arguments to sendto() which take int. + 2000-06-30 Tom Yu * server_stubs.c: Kludge to rename xdr_free() properly. diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c index 608f8b8a7..ca4bd0809 100644 --- a/src/kadmin/server/ovsec_kadmd.c +++ b/src/kadmin/server/ovsec_kadmd.c @@ -1085,10 +1085,10 @@ void do_schpw(int s1, kadm5_config_params *params) goto cleanup; } - len = sendto(s1, repdata.data, repdata.length, 0, + len = sendto(s1, repdata.data, (int) repdata.length, 0, (struct sockaddr *) &from, sizeof(from)); - if (len < repdata.length) { + if (len < (int) repdata.length) { krb5_xfree(repdata.data); krb5_klog_syslog(LOG_ERR, "chpw: Error sending reply: %s",