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:
marcel 2005-09-17 06:34:18 +00:00
parent 2bb9efbdc6
commit 5b46227727

View File

@ -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 \