* sendto_kdc.c (krb5_sendto_kdc): Get rid of unecessary casts
authorEzra Peisach <epeisach@mit.edu>
Wed, 5 Dec 2001 12:02:10 +0000 (12:02 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 5 Dec 2001 12:02:10 +0000 (12:02 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14041 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/sendto_kdc.c

index 2926e6994c045adcb521a6b20800f0ffa984b1ec..a5914451d04922560999de74661f05cf09716839 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-05  Ezra Peisach  <epeisach@mit.edu>
+
+       * sendto_kdc.c (krb5_sendto_kdc): Get rid of unecessary casts.
+
 2001-10-24  Sam Hartman  <hartmans@mit.edu>
 
        * accessor.c (krb5int_accessor):  Add fields for struct version 4
index 182d35ced0da79dd1b30ccf23a1e56bdd891c486..7bb63522c3c8cb5199cb8f940ca96da49a625891 100644 (file)
@@ -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: