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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user