From a4d39851fd7c76aa78846057bc3522546062fcfb Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Mon, 24 Jan 2022 15:16:13 +0100 Subject: [PATCH] Fixed syntax errors --- include/vk_mem_alloc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index bb009a6..9b46d69 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -3086,7 +3086,7 @@ static inline uint8_t VmaBitScanLSB(uint64_t mask) return static_cast(pos); return UINT8_MAX; #elif defined __GNUC__ || defined __clang__ - return static_cast__builtin_ffsll(mask)) - 1U; + return static_cast(__builtin_ffsll(mask)) - 1U; #else uint8_t pos = 0; uint64_t bit = 1; @@ -3108,7 +3108,7 @@ static inline uint8_t VmaBitScanLSB(uint32_t mask) return static_cast(pos); return UINT8_MAX; #elif defined __GNUC__ || defined __clang__ - return static_cast__builtin_ffsl(mask)) - 1U; + return static_cast(__builtin_ffsl(mask)) - 1U; #else uint8_t pos = 0; uint32_t bit = 1;