mirror of https://github.com/stella-emu/stella.git
Fix minor warning from clang-20.
This commit is contained in:
parent
b753f6eefa
commit
709237c79c
|
@ -93,7 +93,7 @@ using ByteBuffer = std::unique_ptr<uInt8[]>;
|
|||
using DWordBuffer = std::unique_ptr<uInt32[]>;
|
||||
|
||||
// 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_t>(size * 1024);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue