diff options
author | marcel <marcel@FreeBSD.org> | 2005-09-17 06:34:18 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-09-17 06:34:18 +0000 |
commit | 5b46227727184a727263cd413fdcae048c25efbe (patch) | |
tree | a1a839a350a5f946d23c70482298b828c63a5204 | |
parent | 2bb9efbdc659cf3671a14d1a12e44ad84c32f08c (diff) | |
download | FreeBSD-src-5b46227727184a727263cd413fdcae048c25efbe.zip FreeBSD-src-5b46227727184a727263cd413fdcae048c25efbe.tar.gz |
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.
-rw-r--r-- | sys/sys/gpt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h index 6c0b7ae..a93ee96 100644 --- a/sys/sys/gpt.h +++ b/sys/sys/gpt.h @@ -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 \ |