Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/intern/math_bits_inline.c')
-rw-r--r--source/blender/blenlib/intern/math_bits_inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_bits_inline.c b/source/blender/blenlib/intern/math_bits_inline.c
index 3a0cea182ba..ba18bb73850 100644
--- a/source/blender/blenlib/intern/math_bits_inline.c
+++ b/source/blender/blenlib/intern/math_bits_inline.c
@@ -48,7 +48,7 @@ MINLINE unsigned int bitscan_forward_uint64(unsigned long long a)
_BitScanForward64(&ctz, a);
return ctz;
#else
- return (unsigned int)__builtin_ctz(a);
+ return (unsigned int)__builtin_ctzll(a);
#endif
}