summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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