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/2841] stdint.h misdefines UINT8_C and UINT16_C to append U


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

Clément <clement.pit at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clement.pit at gmail dot com

--- Comment #3 from Clément <clement.pit at gmail dot com> ---
Paul, wouldn't it be better to also include a cast to uint_least8_t in that
macro (that's what other libcs do, AFAICT)?  Right now UINTC_8(-1) produces an
negative int, which is rather surprising.

-- 
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]