-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: use uint16_t for UTF-16 code points in charset test
Charset-related APIs are using 16-bit uint16_t when referring to UTF-16, and are not obligated to have any particular byte layout in memory. Those are different for little- and big-endian machines, which caused test to fail when compiling on mips and s390x.
- Loading branch information
Showing
1 changed file
with
18 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters