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

fix 3 last C warnings and make sure no new warnings are introduced

This commit is contained in:
Alexander Medvednikov
2019-10-04 05:40:08 +03:00
parent ac7824b669
commit f45d3f07ed
4 changed files with 16 additions and 3 deletions

View File

@@ -252,7 +252,7 @@ pub fn (n i64) hex() string {
19
}
hex := malloc(len)
count := int(C.sprintf(*char(hex), '0x%lx', n))
count := int(C.sprintf(*char(hex), '0x%llx', n))
return tos(hex, count)
}