From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10469 Path: news.gmane.org!.POSTED!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix type for ifc_ifcu.ifcu_buf field of struct ifconf Date: Thu, 15 Sep 2016 23:25:45 +0300 (MSK) Message-ID: References: <20160915152731.4897-1-dsabogalcc@gmail.com> <20160915152731.4897-2-dsabogalcc@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1473971198 13490 195.159.176.226 (15 Sep 2016 20:26:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2016 20:26:38 +0000 (UTC) User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) To: musl@lists.openwall.com Original-X-From: musl-return-10482-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 15 22:26:35 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1bkdEr-0002VY-Fv for gllmg-musl@m.gmane.org; Thu, 15 Sep 2016 22:26:29 +0200 Original-Received: (qmail 17979 invoked by uid 550); 15 Sep 2016 20:26:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17959 invoked from network); 15 Sep 2016 20:26:29 -0000 In-Reply-To: <20160915152731.4897-2-dsabogalcc@gmail.com> Xref: news.gmane.org gmane.linux.lib.musl.general:10469 Archived-At: On Thu, 15 Sep 2016, Daniel Sabogal wrote: > linux, glibc, freebsd, and openbsd use a character pointer for this field > --- a/include/net/if.h > +++ b/include/net/if.h > @@ -116,7 +116,7 @@ struct ifreq { > struct ifconf { > int ifc_len; > union { > - void *ifcu_buf; > + char *ifcu_buf; Declaration of 'ifru_data' in that header has the same issue. Thanks. Alexander