From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10462 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Sabogal Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] fix type for ifc_ifcu.ifcu_buf field of struct ifconf Date: Thu, 15 Sep 2016 11:27:31 -0400 Message-ID: <20160915152731.4897-2-dsabogalcc@gmail.com> References: <20160915152731.4897-1-dsabogalcc@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1473953355 14677 195.159.176.226 (15 Sep 2016 15:29:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2016 15:29:15 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10476-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 15 17:29:07 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 1bkYaq-0001Xw-8J for gllmg-musl@m.gmane.org; Thu, 15 Sep 2016 17:28:52 +0200 Original-Received: (qmail 17875 invoked by uid 550); 15 Sep 2016 15:28:48 -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 17806 invoked from network); 15 Sep 2016 15:28:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=g9Gn+v4TRnuGxzqtkytp7YWssZUE5c7/Ndi4eVcU7U4=; b=jZTJu+4jVmm25/LkF6yy8hJGCiKgU+Rw8GGoPrBVIbEAQwthWwLu0OGZJib2fJwbfK mqyhJ65glEUpB9nfq5oBKxD3LMO2//r67G6CydVRfZF5W0EQ0zR1n9pg1bUxJ6nuYkU2 r016DXy54nzgxh+e+ZXwhvYlOotwya3sFWFfGL0Zk+SDxPWi4rW6bJPl0IFxRzOZeC9t XUS1dPr37H2tLI5eAb5ZZjokh483t7LHO1hRWMqiigz+/c5TUgzWEvrZ7OU15nSHVs/c ZT7etEstSNjjcuehmKXzRrKybuZ0CnbFUjGgREu8HwDBntsE7kZDdmrn8Hn9usRol5rp vmXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=g9Gn+v4TRnuGxzqtkytp7YWssZUE5c7/Ndi4eVcU7U4=; b=Ef/L8DA2mRn8l8RyBN+9WdaGmr8PQ5Z0HX/6VewBsFeK98iHoQJh1DUBrI679ygGnt GNt5Rcz2eVEqf6NSEiVy+paQgYsAuMDlqaCzXVEue3JfqNnF6KvlbK75/iutTR3vf4an Mell7t8pCsftvDne4Egoe6tkqQ/7B0p9P0jdbqcRrAWDlx3f7x6swzgiHxD4VTBwY5tF /XWGgrWvk03VBWKbnU15pioNMHBdUurV0JGSU0/3Nj1AhNzpnwhUmmC6UKDyr5dONuop iWozQXlcEhBe0ZYs75Nfk5eKZ2WXNJZKznL2XRK8hEAT5FFWB5DeVNR2jDwRnSaXCqqI 0/AA== X-Gm-Message-State: AE9vXwOJY7OIsH/mSSsC/m17XGvSvxN3GKdytXDqQplsJ6iA2AI1lema/tsbbwtDLd5Xvg== X-Received: by 10.157.11.122 with SMTP id p55mr7787282otd.109.1473953313448; Thu, 15 Sep 2016 08:28:33 -0700 (PDT) X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160915152731.4897-1-dsabogalcc@gmail.com> Xref: news.gmane.org gmane.linux.lib.musl.general:10462 Archived-At: linux, glibc, freebsd, and openbsd use a character pointer for this field --- include/net/if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/if.h b/include/net/if.h index 1a4059d..76a2528 100644 --- 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; struct ifreq *ifcu_req; } ifc_ifcu; }; -- 2.10.0