fix byteptr warning
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