On 2026-05-10 14:15, Bruno Haible wrote:
The correct way to get rid of the warning is not to omit the cast,
but to transform it into a compound-initializer (like you did in so
many other places).

Ah, my mistake was thinking that because it's OK to replace
"wc = (wchar_t) 0xBADFACE" with "wc = 0xBADFACE", then blindly replacing
"wc == (wchar_t) 0xBADFACE" with "wc == 0xBADFACE" is also OK.
Your use of (wchar_t) {0xBADFACE} makes things less confusing; thanks.

Reply via email to