mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[util] Fix MSVC build
This commit is contained in:
parent
50c6974f3a
commit
3fc1f2cecb
@ -79,7 +79,7 @@ namespace dxvk::bit {
|
||||
|
||||
inline uint32_t bsf(uint32_t n) {
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
DWORD index;
|
||||
unsigned long index;
|
||||
_BitScanForward(&index, n);
|
||||
return uint32_t(index);
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user