fix byteptr warning

pull/2695/head
Nicolas Sauzede 2019-11-07 23:30:07 +01:00 committed by Alexander Medvednikov
parent 3a99217592
commit 2f5de11c22
1 changed files with 1 additions and 1 deletions

View File

@ -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()+':'