mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix byteptr warning
This commit is contained in:

committed by
Alexander Medvednikov

parent
3a99217592
commit
2f5de11c22
@@ -60,7 +60,7 @@ pub fn print_backtrace_skipping_top_frames(skipframes int) {
|
|||||||
}
|
}
|
||||||
buf := [1000]byte
|
buf := [1000]byte
|
||||||
mut output := ''
|
mut output := ''
|
||||||
for C.fgets(buf, 1000, f) != 0 {
|
for C.fgets(voidptr(buf), 1000, f) != 0 {
|
||||||
output += tos(buf, vstrlen(buf))
|
output += tos(buf, vstrlen(buf))
|
||||||
}
|
}
|
||||||
output = output.trim_space()+':'
|
output = output.trim_space()+':'
|
||||||
|
Reference in New Issue
Block a user