This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug: struct cmsghdr does not match system on cygwin64


On Mon, Dec 29, 2014 at 1:34 PM, Marco Atzeri <marco.atzeri@gmail.com> wrote:
> the 4 byte shift is likely due to
>
> SIZE_T -> ULONG_PTR -> unsigned __int3264

Yes, exactly.

So, cygwin/socket.h's struct cmsghdr definition needs to be fixed to match.

-Kenton

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]