mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-21 20:28:37 +00:00
Minor internal fix - removed usage of DWORD type
This commit is contained in:
parent
f451b94158
commit
8da08d160a
1 changed files with 2 additions and 2 deletions
|
@ -3075,7 +3075,7 @@ static inline uint32_t VmaCountBitsSet(uint32_t v)
|
||||||
static inline uint8_t VmaBitScanLSB(uint64_t mask)
|
static inline uint8_t VmaBitScanLSB(uint64_t mask)
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
DWORD pos;
|
unsigned long pos;
|
||||||
if (_BitScanForward64(&pos, mask))
|
if (_BitScanForward64(&pos, mask))
|
||||||
return static_cast<uint8_t>(pos);
|
return static_cast<uint8_t>(pos);
|
||||||
#else
|
#else
|
||||||
|
@ -3092,7 +3092,7 @@ static inline uint8_t VmaBitScanLSB(uint64_t mask)
|
||||||
static inline uint8_t VmaBitScanLSB(uint32_t mask)
|
static inline uint8_t VmaBitScanLSB(uint32_t mask)
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
DWORD pos;
|
unsigned long pos;
|
||||||
if (_BitScanForward(&pos, mask))
|
if (_BitScanForward(&pos, mask))
|
||||||
return static_cast<uint8_t>(pos);
|
return static_cast<uint8_t>(pos);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue