diff options
| author | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-06-06 21:03:28 -0500 |
|---|---|---|
| committer | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-07-10 17:35:47 -0500 |
| commit | 3d34a201058248cd7334fa4c075082aec4decdc2 (patch) | |
| tree | 59f58da7392f823ca9d6161524cbd5fbc452e176 /Source | |
| parent | 38cb76dea54b59fa0eae458e0898edebed13e7ca (diff) | |
Common: Fix CountTrailingZeros for weird compilers
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Common/BitUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/BitUtils.h b/Source/Core/Common/BitUtils.h index bd0801491d..82d347cf97 100644 --- a/Source/Core/Common/BitUtils.h +++ b/Source/Core/Common/BitUtils.h @@ -457,7 +457,7 @@ constexpr int CountTrailingZeros(uint32_t value) return _BitScanForward(&index, value) ? index : 32; } #else - return CountLeadingZerosConst(value); + return CountTrailingZerosConst(value); #endif } |
