[haiku-bugs] Re: [Haiku] #12824: [Patch] partitioning_systems/gpt/utility.cpp: Fix clang warnings

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Thu, 23 Jun 2016 11:34:50 -0000

#12824: [Patch] partitioning_systems/gpt/utility.cpp: Fix clang warnings
----------------------------------------+----------------------------
   Reporter:  mt                        |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  Unscheduled
  Component:  Partitioning Systems/GPT  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by mt):

 Replying to [comment:2 jessicah]:

This is clearly a bug. The spec says we're decoding UTF-16 (rather than
 UCS-2), so the change to a uint32 is only part of the fix.

 Hi, I don't know about UEFI/GPT well, but it seems they use UCS-2, not
 UTF16 [1][2]. So perhaps we don't need to handle UTF16.

 [1] http://uefi.blogspot.jp/2009/12/uefi-hii-part-7-character-
 encoding.html
 [2] http://lists.alioth.debian.org/pipermail/parted-
 devel/2015-March/004632.html

--
Ticket URL: <https://dev.haiku-os.org/ticket/12824#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: