From 99855ad7f05f09ef674f750c43afb619fe2c5ebe Mon Sep 17 00:00:00 2001 From: Jacob <535707+jkub@users.noreply.github.com> Date: Sat, 6 Apr 2024 09:29:21 -0700 Subject: [PATCH] clang-tidy fix --- src/storage/buffer/buffer_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/buffer/buffer_pool.cpp b/src/storage/buffer/buffer_pool.cpp index 13f9dda5be3..d2e4bb0df49 100644 --- a/src/storage/buffer/buffer_pool.cpp +++ b/src/storage/buffer/buffer_pool.cpp @@ -133,7 +133,7 @@ BufferPool::EvictionResult BufferPool::EvictBlocks(MemoryTag tag, idx_t extra_me idx_t BufferPool::PurgeAgedBlocks(uint32_t max_age_sec) { int64_t now = GetCoarseMonotonicMillisecondTimestamp(); - int64_t limit = now - (max_age_sec * 1000); + int64_t limit = now - (static_cast(max_age_sec) * 1000); idx_t purged_bytes = 0; IterateUnloadableBlocks([&](BufferEvictionNode &node, const std::shared_ptr &handle) { // We will unload this block regardless. But stop the iteration immediately afterward if this