Changeset 28a5ebd in mainline for uspace/lib/ext4/src/superblock.c
- Timestamp:
- 2020-06-18T15:39:50Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce52c333
- Parents:
- 4f663f3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/src/superblock.c
r4f663f3e r28a5ebd 889 889 size_t i; 890 890 size_t wi; 891 wchar_t ch;891 char32_t ch; 892 892 errno_t rc; 893 893 … … 896 896 while (sb->volume_name[i] != '\0' && i < sizeof(sb->volume_name)) { 897 897 /* ISO 8859-1 codes map to identical Unicode code points */ 898 ch = ( wchar_t)(uint8_t)sb->volume_name[i];898 ch = (char32_t)(uint8_t)sb->volume_name[i]; 899 899 rc = chr_encode(ch, buf, &wi, bufsz - 1); 900 900 if (rc != EOK) … … 917 917 { 918 918 size_t off; 919 wchar_t ch;919 char32_t ch; 920 920 size_t wi; 921 921
Note:
See TracChangeset
for help on using the changeset viewer.