mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
more C warnings fixed
This commit is contained in:
@@ -186,5 +186,5 @@ pub fn get_error_msg(code int) string {
|
||||
if _ptr_text == 0 { // compare with null
|
||||
return ''
|
||||
}
|
||||
return tos(_ptr_text, C.strlen(_ptr_text))
|
||||
return tos(_ptr_text, vstrlen(_ptr_text))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user