summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-12-11 17:53:40 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-12-11 17:53:40 -0500
commitad8164cada7931eb58f6320bf6bd64cc69e1d47e (patch)
tree14eebce12b1c7e1bc8edc76c1eb0f2d7cc378c96
parente76f660ece42f0ffd3e6e32f6933663ddab736ac (diff)
downloadmongo-ad8164cada7931eb58f6320bf6bd64cc69e1d47e.tar.gz
For some reason, managed to lose a couple of changes in the commit.
-rw-r--r--src/block/block_addr.c2
-rw-r--r--src/utilities/util_list.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/block/block_addr.c b/src/block/block_addr.c
index ab8a24b5de5..9ba4ec4a8b2 100644
--- a/src/block/block_addr.c
+++ b/src/block/block_addr.c
@@ -194,7 +194,7 @@ __wt_block_ckpt_decode(WT_SESSION *wt_session,
WT_SESSION_IMPL *session;
session = (WT_SESSION_IMPL *)wt_session;
- return ( __block_buffer_to_ckpt(session, allocsize, p, ci));
+ return (__block_buffer_to_ckpt(session, (uint32_t)allocsize, p, ci));
}
/*
diff --git a/src/utilities/util_list.c b/src/utilities/util_list.c
index 51a2034a313..6e166b787a4 100644
--- a/src/utilities/util_list.c
+++ b/src/utilities/util_list.c
@@ -182,10 +182,9 @@ list_print_checkpoint(WT_SESSION *session, const char *key)
WT_BLOCK_CKPT ci;
WT_DECL_RET;
WT_CKPT *ckpt, *ckptbase;
- size_t len;
+ size_t allocsize, len;
time_t t;
uint64_t v;
- size_t allocsize;
/*
* We may not find any checkpoints for this file, in which case we don't