Fixed syntax errors

This commit is contained in:
Adam Sawicki 2022-01-24 15:16:13 +01:00
parent cad2acc080
commit a4d39851fd

View File

@ -3086,7 +3086,7 @@ static inline uint8_t VmaBitScanLSB(uint64_t mask)
return static_cast<uint8_t>(pos); return static_cast<uint8_t>(pos);
return UINT8_MAX; return UINT8_MAX;
#elif defined __GNUC__ || defined __clang__ #elif defined __GNUC__ || defined __clang__
return static_cast<uint8_t>__builtin_ffsll(mask)) - 1U; return static_cast<uint8_t>(__builtin_ffsll(mask)) - 1U;
#else #else
uint8_t pos = 0; uint8_t pos = 0;
uint64_t bit = 1; uint64_t bit = 1;
@ -3108,7 +3108,7 @@ static inline uint8_t VmaBitScanLSB(uint32_t mask)
return static_cast<uint8_t>(pos); return static_cast<uint8_t>(pos);
return UINT8_MAX; return UINT8_MAX;
#elif defined __GNUC__ || defined __clang__ #elif defined __GNUC__ || defined __clang__
return static_cast<uint8_t>__builtin_ffsl(mask)) - 1U; return static_cast<uint8_t>(__builtin_ffsl(mask)) - 1U;
#else #else
uint8_t pos = 0; uint8_t pos = 0;
uint32_t bit = 1; uint32_t bit = 1;