tycho: use std::byte

master
an 2019-07-03 19:25:42 -04:00
parent f15f2f6dcc
commit e90e4df392
1 changed files with 1 additions and 4 deletions

View File

@ -166,10 +166,7 @@ static inline void dbgPrint([[maybe_unused]] char const *fmt,
#define dbgPrintFunc() dbgPrint("%s", __func__)
static inline constexpr std::uint32_t fourCC(std::uint8_t a,
std::uint8_t b,
std::uint8_t c,
std::uint8_t d)
constexpr std::uint32_t fourCC(std::byte a, std::byte b, std::byte c, std::byte d)
{
return (a << 24) | (b << 16) | (c << 8) | d;
}