On Wed, Oct 25, 2023 at 07:41:09PM +0300, Eli Zaretskii wrote: > The warning is real: wchar_t is a 16-bit data type on MS-Windows, > whereas the code assumes it's of the same width as wint_t. > > I changed the offending code to say this instead: > > if (!strchr (end_sentence_characters > after_punctuation_characters, *p)) > { > wchar_t wc; > get_utf8_codepoint (&wc, p, len); > state.last_letter = wc; > } > > and then it compiled cleanly.
Thank you, I've committed this on branch "release/7.1", and if similar code is used on the master branch I'll make sure it doesn't have this problem.