From 709237c79c481ecb58cb2f88c7108bc797f82234 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 19 Apr 2025 12:59:04 -0230 Subject: [PATCH] Fix minor warning from clang-20. --- src/common/bspf.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/bspf.hxx b/src/common/bspf.hxx index 9408d1d4b..89e093142 100644 --- a/src/common/bspf.hxx +++ b/src/common/bspf.hxx @@ -93,7 +93,7 @@ using ByteBuffer = std::unique_ptr; using DWordBuffer = std::unique_ptr; // We use KB a lot; let's make a literal for it -constexpr size_t operator "" _KB(unsigned long long size) +constexpr size_t operator ""_KB(unsigned long long size) { return static_cast(size * 1024); }