summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-01-22 08:32:49 -0500
committerKeith Bostic <keith@wiredtiger.com>2016-01-22 08:32:49 -0500
commit7f404e15f160863f79a1f5e058ed1bb37f252a01 (patch)
treed18bc6dabb67e0aecd91bf98cf2c389c718aa3c5
parent6151b0c013d447585852481aab2ed7d9cd9ee013 (diff)
downloadmongo-7f404e15f160863f79a1f5e058ed1bb37f252a01.tar.gz
WT-2344: OS X compiler warning
error: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Werror,-Wformat]
-rw-r--r--src/btree/bt_rebalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_rebalance.c b/src/btree/bt_rebalance.c
index f44a5ea361f..86360e83ddf 100644
--- a/src/btree/bt_rebalance.c
+++ b/src/btree/bt_rebalance.c
@@ -141,7 +141,7 @@ __rebalance_internal(WT_SESSION_IMPL *session, WT_REBALANCE_STUFF *rs)
*/
if (rs->leaf_next > UINT32_MAX)
WT_RET_MSG(session, ENOTSUP,
- "too many leaf pages to rebalance, %" PRIu64 " pages "
+ "too many leaf pages to rebalance, %" WT_SIZET_FMT " pages "
"exceeds the maximum of %" PRIu32,
rs->leaf_next, UINT32_MAX);
leaf_next = (uint32_t)rs->leaf_next;