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:
Axel Dörfler
2008-01-12 23:58:56 +00:00
parent 89f97fe903
commit d1ba9c8adc
2 changed files with 3 additions and 3 deletions
@@ -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;
}