Date: Tue, 19 Dec 2023 17:07:01 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275831] wcstoimax function is missing 'L' qualifier on a character constant Message-ID: <bug-275831-227-TpSPVQ2blS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275831-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275831-227-TpSPVQ2blS>
