pcm/{Traits,Dsd*}: use std::byte

This commit is contained in:
Max Kellermann
2023-03-06 18:27:16 +01:00
parent 7a1b996da9
commit 941f2ca60d
18 changed files with 95 additions and 114 deletions

View File

@@ -8,7 +8,7 @@ GenerateBitReverseTable() noexcept
{
BitReverseTable table{};
for (unsigned i = 0; i < 256; ++i)
table.data[i] = BitReverseMultiplyModulus(i);
table.data[i] = BitReverseMultiplyModulus(static_cast<std::byte>(i));
return table;
}