[Bug 275831] wcstoimax function is missing 'L' qualifier on a character constant

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Dec 2023 17:07:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275831

Warner Losh <imp@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imp@FreeBSD.org

--- Comment #1 from Warner Losh <imp@FreeBSD.org> ---
This seems like a good observation, though I suspect that we haven't noticed
because the same code will be generated. IIRC (and I may not), the promotion
rules are such that this just works: signed or not 'a' and 'z' don't have any
high bits set so widening to larger types will be the same.

Having said that 'it doesn't matter' kinda, I agree with Paul: this is at least
a logical bug and should be fixed in the manner he describes.

-- 
You are receiving this mail because:
You are the assignee for the bug.