Fixed some oversights in udf_timestamp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4229 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fc6c18530a
commit
83d7be1c6f
@ -82,8 +82,8 @@ private:
|
||||
union type_and_timezone_accessor {
|
||||
uint16 type_and_timezone;
|
||||
struct {
|
||||
uint16 timezone:12,
|
||||
type:4;
|
||||
uint16 type:4,
|
||||
timezone:12;
|
||||
} bits;
|
||||
};
|
||||
|
||||
@ -97,7 +97,7 @@ public:
|
||||
t.type_and_timezone = type_and_timezone();
|
||||
return t.bits.type;
|
||||
}
|
||||
uint16 timezone() const {
|
||||
int16 timezone() const {
|
||||
type_and_timezone_accessor t;
|
||||
t.type_and_timezone = type_and_timezone();
|
||||
return t.bits.timezone;
|
||||
|
Loading…
Reference in New Issue
Block a user