Return-Path: Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Delivered-To: mailing list commits@apr.apache.org Received: (qmail 37480 invoked by uid 99); 3 Jan 2005 18:30:05 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 03 Jan 2005 10:29:31 -0800 Received: (qmail 73241 invoked by uid 65534); 3 Jan 2005 18:29:24 -0000 Date: 3 Jan 2005 18:29:24 -0000 Message-ID: <20050103182924.73238.qmail@minotaur.apache.org> From: bnicholes@apache.org To: commits@apr.apache.org Subject: svn commit: r124021 - /apr/apr/trunk/network_io/unix/multicast.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked Author: bnicholes Date: Mon Jan 3 10:29:22 2005 New Revision: 124021 URL: http://svn.apache.org/viewcvs?view=rev&rev=124021 Log: Fix up some type mismatches Modified: apr/apr/trunk/network_io/unix/multicast.c Modified: apr/apr/trunk/network_io/unix/multicast.c Url: http://svn.apache.org/viewcvs/apr/apr/trunk/network_io/unix/multicast.c?view=diff&rev=124021&p1=apr/apr/trunk/network_io/unix/multicast.c&r1=124020&p2=apr/apr/trunk/network_io/unix/multicast.c&r2=124021 ============================================================================== --- apr/apr/trunk/network_io/unix/multicast.c (original) +++ apr/apr/trunk/network_io/unix/multicast.c Mon Jan 3 10:29:22 2005 @@ -149,7 +149,7 @@ fill_mip_v4(&mip4, mcast, iface); if (setsockopt(sock->socketdes, IPPROTO_IP, type, - &mip4, sizeof(mip4)) == -1) { + (const void *)&mip4, sizeof(mip4)) == -1) { rv = errno; } } @@ -192,7 +192,7 @@ if (sock_is_ipv4(sock)) { if (setsockopt(sock->socketdes, IPPROTO_IP, type, - &value, sizeof(value)) == -1) { + (const void *)&value, sizeof(value)) == -1) { rv = errno; } } @@ -278,7 +278,7 @@ if (sock_is_ipv4(sock)) { if (setsockopt(sock->socketdes, IPPROTO_IP, IP_MULTICAST_IF, - &iface->sa.sin.sin_addr, + (const void *)&iface->sa.sin.sin_addr, sizeof(iface->sa.sin.sin_addr)) == -1) { rv = errno; }