mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler/math.bits: use max u64 consts
This commit is contained in:
@@ -10,7 +10,7 @@ import(
|
||||
)
|
||||
|
||||
pub fn int_u64(max u64) ?u64 {
|
||||
bitlen := bits.len64(max)
|
||||
bitlen := bits.len_64(max)
|
||||
if bitlen == 0 {
|
||||
return u64(0)
|
||||
}
|
||||
|
Reference in New Issue
Block a user