summaryrefslogtreecommitdiff
path: root/src/block/block_slvg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/block_slvg.c')
-rw-r--r--src/block/block_slvg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/block_slvg.c b/src/block/block_slvg.c
index cbbee94527c..5d0e3a603f9 100644
--- a/src/block/block_slvg.c
+++ b/src/block/block_slvg.c
@@ -126,8 +126,8 @@ skip: WT_VERBOSE(session, salvage,
* Free the block and make sure we don't return it more
* than once.
*/
- WT_RET(
- __wt_block_free(session, block, offset, allocsize));
+ WT_RET(__wt_block_free(
+ session, block, offset, (off_t)allocsize));
block->slvg_off = offset += allocsize;
continue;
}