Author: pjd
Date: Wed Jul  3 21:58:26 2013
New Revision: 252619
URL: http://svnweb.freebsd.org/changeset/base/252619

Log:
  MFp4 @229474:
  
  iov_base field is 'void *' in FreeBSD, no need to cast.
  
  Reviewed by:  brooks
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sbin/dhclient/bpf.c

Modified: head/sbin/dhclient/bpf.c
==============================================================================
--- head/sbin/dhclient/bpf.c    Wed Jul  3 21:57:24 2013        (r252618)
+++ head/sbin/dhclient/bpf.c    Wed Jul  3 21:58:26 2013        (r252619)
@@ -264,9 +264,9 @@ send_packet(struct interface_info *inter
        assemble_udp_ip_header(buf, &bufp, from.s_addr, to.s_addr,
            htons(REMOTE_PORT), (unsigned char *)raw, len);
 
-       iov[0].iov_base = (char *)buf;
+       iov[0].iov_base = buf;
        iov[0].iov_len = bufp;
-       iov[1].iov_base = (char *)raw;
+       iov[1].iov_base = raw;
        iov[1].iov_len = len;
 
        /* Fire it off */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to