We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbe4ec6 commit 6338a93Copy full SHA for 6338a93
include/libmorton/morton_common.h
@@ -32,7 +32,7 @@ namespace libmorton {
32
return false;
33
}
34
else {
35
- *firstbit_location = static_cast<unsigned long>((sizeof(morton) * 8) - __builtin_clzll(x) - 1);
+ *firstbit_location = static_cast<unsigned long>((sizeof(unsigned long long) * 8) - __builtin_clzll(x) - 1);
36
return true;
37
38
#endif
0 commit comments