1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib: prepare atoi.v and utf8.v for -Wimpure-v

This commit is contained in:
Delyan Angelov
2020-12-15 10:17:46 +02:00
parent bd07177ef0
commit d155d8d3f0
4 changed files with 77 additions and 80 deletions

View File

@@ -9,7 +9,7 @@ const (
// int_size = 32 << (~u32(0) >> 63)
// max_u64 = u64(u64(1 << 63) - 1)
int_size = 32
max_u64 = u64(C.UINT64_MAX)// as u64 // use this until we add support
max_u64 = 18446744073709551615 // as u64 // use this until we add support
)
pub fn byte_to_lower(c byte) byte {