From: Ezra Peisach Date: Wed, 5 Dec 2001 12:02:10 +0000 (+0000) Subject: * sendto_kdc.c (krb5_sendto_kdc): Get rid of unecessary casts X-Git-Tag: krb5-1.3-alpha1~927 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=02394c6560d0a08a3bdf90834128568af2fae661;p=krb5.git * sendto_kdc.c (krb5_sendto_kdc): Get rid of unecessary casts git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14041 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 2926e6994..a5914451d 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +2001-12-05 Ezra Peisach + + * sendto_kdc.c (krb5_sendto_kdc): Get rid of unecessary casts. + 2001-10-24 Sam Hartman * accessor.c (krb5int_accessor): Add fields for struct version 4 diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index 182d35ced..7bb63522c 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -178,7 +178,7 @@ krb5_sendto_kdc (context, message, realm, reply, use_master) fprintf (stderr, "sending..."); #endif if (send(socklist[host], - message->data, (int) message->length, 0) + message->data, message->length, 0) != message->length) { #ifdef DEBUG perror ("sendto"); @@ -205,7 +205,7 @@ krb5_sendto_kdc (context, message, realm, reply, use_master) goto out; } if ((cc = recv(socklist[host], - reply->data, (int) reply->length, + reply->data, reply->length, 0)) == SOCKET_ERROR) { /* man page says error could be: