This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2841] stdint.h misdefines UINT8_C and UINT16_C to append U
- From: "clement.pit at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 08 Aug 2019 18:19:57 +0000
- Subject: [Bug libc/2841] stdint.h misdefines UINT8_C and UINT16_C to append U
- Auto-submitted: auto-generated
- References: <bug-2841-131@http.sourceware.org/bugzilla/>
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.