From b99c428aef606b215aa557138cb9f0b264de6f08 Mon Sep 17 00:00:00 2001 From: Lava Block Date: Fri, 21 Jan 2022 18:28:15 +0100 Subject: [PATCH] Fix build - removed usage of DWORD type --- 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 60f9073..cc0194c 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -3109,7 +3109,7 @@ static inline uint8_t VmaBitScanLSB(uint32_t mask) static inline uint8_t VmaBitScanMSB(uint64_t mask) { #ifdef _MSC_VER - DWORD pos; + unsigned long pos; if (_BitScanReverse64(&pos, mask)) return static_cast(pos); #else @@ -3126,7 +3126,7 @@ static inline uint8_t VmaBitScanMSB(uint64_t mask) static inline uint8_t VmaBitScanMSB(uint32_t mask) { #ifdef _MSC_VER - DWORD pos; + unsigned long pos; if (_BitScanReverse(&pos, mask)) return static_cast(pos); #else