Skip to content

Conversation

@stevengj
Copy link
Member

@stevengj stevengj commented Dec 31, 2024

Fixes the warnings introduced by #277, and noted here: #280 (comment)

cc @eschnett

(I don't recall why int32_t is used for characters, rather than unsigned; maybe -1 is used as a sentinel somewhere? Or maybe it's because wchar_t is often signed on Unix systems where it is 32 bits? In any case, it's safe, since the maximum codepoint is only 10FFFF.)

@stevengj stevengj merged commit 701fbc4 into master Dec 31, 2024
12 checks passed
@stevengj stevengj deleted the fixwarnings branch December 31, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants