From 02394c6560d0a08a3bdf90834128568af2fae661 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 5 Dec 2001 12:02:10 +0000 Subject: [PATCH] * 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 --- src/lib/krb5/os/ChangeLog | 4 ++++ src/lib/krb5/os/sendto_kdc.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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: -- 2.26.2