1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib: fix more C warns on windows

This commit is contained in:
Delyan Angelov
2020-09-18 13:40:47 +03:00
parent c1f04d8c72
commit d2badcdedf
2 changed files with 4 additions and 4 deletions

View File

@ -125,7 +125,7 @@ pub fn tos_lit(s charptr) string {
pub fn (bp byteptr) vstring() string {
return string{
str: bp
len: unsafe {C.strlen(bp)}
len: unsafe {C.strlen(charptr(bp))}
}
}