btrfs: fix build.

This commit is contained in:
Adrien Destugues 2020-01-25 22:09:42 +01:00
parent 670af4fc7b
commit cddaf7625c

View File

@ -268,7 +268,9 @@ BTree::Node::MoveEntries(uint32 start, uint32 end, int length) const
TRACE("Node::MoveEntries() inserting ... start %" B_PRIu32 " end %"
B_PRIu32 " length %i\n", start, end, length);
length -= _CalculateSpace(start, end - 1);
std::swap(start, end);
uint32 tmp = start;
start = end;
end = tmp;
}
if (end >= ItemCount())