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/> References: <bug-275831-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275831 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 a= ny 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 l= east a logical bug and should be fixed in the manner he describes. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275831-227-TpSPVQ2blS>