This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/16458] endian.h and netinet/in.h byte order macros return unsigned integers of wrong type


https://sourceware.org/bugzilla/show_bug.cgi?id=16458

Jaak Ristioja <jaak at ristioja dot ee> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|endian.h macros return      |endian.h and netinet/in.h
                   |integers of wrong type      |byte order macros return
                   |                            |unsigned integers of wrong
                   |                            |type

--- Comment #7 from Jaak Ristioja <jaak at ristioja dot ee> ---
(In reply to Jaak Ristioja from comment #6)
> PS: At first sight the htonl, htons, ntohl and ntohs macros in
> <netinet/in.h> also appear to require similar casts.

Yep, this does appear to be the case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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