Fixed warnings when building the bfs_shell.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
89f97fe903
commit
d1ba9c8adc
@ -1002,7 +1002,7 @@ BPlusTree::_SplitNode(bplustree_node *node, off_t nodeOffset,
|
||||
int32 keyIndex = *_keyIndex; // can become less than zero!
|
||||
|
||||
if (keyIndex > node->NumKeys()) {
|
||||
FATAL(("key index out of bounds: %ld, num keys: %u\n", keyIndex,
|
||||
FATAL(("key index out of bounds: %d, num keys: %u\n", (int)keyIndex,
|
||||
node->NumKeys()));
|
||||
return B_BAD_VALUE;
|
||||
}
|
||||
|
@ -380,8 +380,8 @@ Journal::_ReplayRunArray(int32 *_start)
|
||||
CachedBlock cached(fVolume);
|
||||
for (int32 index = 0; index < array->CountRuns(); index++) {
|
||||
const block_run &run = array->RunAt(index);
|
||||
INFORM(("replay block run %lu:%u:%u in log at %Ld!\n",
|
||||
run.AllocationGroup(), run.Start(), run.Length(), blockNumber));
|
||||
INFORM(("replay block run %u:%u:%u in log at %Ld!\n",
|
||||
(int)run.AllocationGroup(), run.Start(), run.Length(), blockNumber));
|
||||
|
||||
off_t offset = fVolume->ToOffset(run);
|
||||
for (int32 i = 0; i < run.Length(); i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user