mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net: byte fixes
This commit is contained in:
@ -133,7 +133,7 @@ pub fn i64_str(n0 i64, base int) string {
|
||||
}
|
||||
|
||||
pub fn ptr_str(ptr voidptr) string {
|
||||
buf := [16]byte{}
|
||||
buf := [16]u8{}
|
||||
hex := i64_tos(buf, 15, i64(ptr), 16)
|
||||
res := '0x' + hex
|
||||
return res
|
||||
|
Reference in New Issue
Block a user