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

checker: warn about automatic (de)referencing; freetype: compilation flag fixes

This commit is contained in:
Alexander Medvednikov
2021-03-26 11:42:40 +03:00
parent 69dff4b384
commit bb5958991c
6 changed files with 28 additions and 20 deletions

View File

@@ -114,7 +114,7 @@ pub fn now() Time {
// in this API call
t := C.time(0)
now := C.localtime(&t)
return convert_ctime(now, 0)
return convert_ctime(*now, 0)
}
// utc returns the current UTC time.