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:
@ -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))}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user