mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
fs: Change array syntax to pointer syntax
Fixes #141 Signed-off-by: Andrey Brusnik <pixeliz3d@protonmail.com>
This commit is contained in:
parent
07e5e7bd1b
commit
9514b89405
@ -316,14 +316,14 @@ namespace crucible {
|
|||||||
BtrfsIoctlLogicalInoArgs::set_flags(uint64_t new_flags)
|
BtrfsIoctlLogicalInoArgs::set_flags(uint64_t new_flags)
|
||||||
{
|
{
|
||||||
// We are still supporting building with old headers that don't have .flags yet
|
// We are still supporting building with old headers that don't have .flags yet
|
||||||
reserved[3] = new_flags;
|
*(&reserved[0] + 3) = new_flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
BtrfsIoctlLogicalInoArgs::get_flags() const
|
BtrfsIoctlLogicalInoArgs::get_flags() const
|
||||||
{
|
{
|
||||||
// We are still supporting building with old headers that don't have .flags yet
|
// We are still supporting building with old headers that don't have .flags yet
|
||||||
return reserved[3];
|
return *(&reserved[0] + 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user