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