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:
Stephan Aßmus 2008-07-02 11:20:47 +00:00
parent bac6cc8ad7
commit 96a152f90d

View File

@ -130,7 +130,7 @@ private:
#else
offset_v2 temp;
*(uint64*)&temp = h2le(*(uint64*)&u.k_offset_v2);
return tmp.k_offset;
return temp.k_offset;
#endif
}
uint32 _GetType() const
@ -140,7 +140,7 @@ private:
#else
offset_v2 temp;
*(uint64*)&temp = h2le(*(uint64*)&u.k_offset_v2);
return tmp.k_type;
return temp.k_type;
#endif
}
void _SetOffsetAndType(uint64 offset, uint32 type)