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