diff --git a/tycho/cc/tycho.h b/tycho/cc/tycho.h index e275dd9..4c413d4 100644 --- a/tycho/cc/tycho.h +++ b/tycho/cc/tycho.h @@ -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; }