|
Message-ID: <CAFhhQJRWb_RT0PFEf+0O_SzVFE_dTxDBCKuYeEJaBgSz59MvsQ@mail.gmail.com> Date: Thu, 15 Sep 2016 17:42:48 -0400 From: Daniel Sabogal <dsabogalcc@...il.com> To: musl@...ts.openwall.com Subject: Re: [PATCH] fix type for ifc_ifcu.ifcu_buf field of struct ifconf On Thu, Sep 15, 2016 at 4:25 PM, Alexander Monakov <amonakov@...ras.ru> wrote: > 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. I originally considered changing this one but had left it out since linux disagree on the type (void *).
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.