Applied patch by Urias McCullough:
Fixed Big Endian build of ReiserFS. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26219 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -130,7 +130,7 @@ private:
|
|||||||
#else
|
#else
|
||||||
offset_v2 temp;
|
offset_v2 temp;
|
||||||
*(uint64*)&temp = h2le(*(uint64*)&u.k_offset_v2);
|
*(uint64*)&temp = h2le(*(uint64*)&u.k_offset_v2);
|
||||||
return tmp.k_offset;
|
return temp.k_offset;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
uint32 _GetType() const
|
uint32 _GetType() const
|
||||||
@@ -140,7 +140,7 @@ private:
|
|||||||
#else
|
#else
|
||||||
offset_v2 temp;
|
offset_v2 temp;
|
||||||
*(uint64*)&temp = h2le(*(uint64*)&u.k_offset_v2);
|
*(uint64*)&temp = h2le(*(uint64*)&u.k_offset_v2);
|
||||||
return tmp.k_type;
|
return temp.k_type;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
void _SetOffsetAndType(uint64 offset, uint32 type)
|
void _SetOffsetAndType(uint64 offset, uint32 type)
|
||||||
|
|||||||
Reference in New Issue
Block a user