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

fix time_windows.v

This commit is contained in:
Alexander Medvednikov 2020-02-07 23:11:15 +01:00
parent 18c440c990
commit 8f9979eb8d

View File

@ -15,5 +15,5 @@ struct C.tm {
fn C._mkgmtime(&tm) time_t
fn make_unix_time(t tm) int {
return C._mkgmtime(&t) as int
return int(C._mkgmtime(&t))
}