o Change the type of the ent_name field from short to uint16_t.
UTF-16 characters are not negative. o Change the corresponding comment from UNICODE-16 to UTF-16. There's no such thing as UNICODE-16.
This commit is contained in:
parent
2bb9efbdc6
commit
5b46227727
@ -65,7 +65,7 @@ struct gpt_ent {
|
||||
uint64_t ent_lba_end;
|
||||
uint64_t ent_attr;
|
||||
#define GPT_ENT_ATTR_PLATFORM (1ULL << 0)
|
||||
short ent_name[36]; /* UNICODE-16. */
|
||||
uint16_t ent_name[36]; /* UTF-16. */
|
||||
};
|
||||
|
||||
#define GPT_ENT_TYPE_UNUSED \
|
||||
|
Loading…
x
Reference in New Issue
Block a user