fix time_windows.v

pull/3699/head
Alexander Medvednikov 2020-02-07 23:11:15 +01:00
parent 18c440c990
commit 8f9979eb8d
1 changed files with 1 additions and 1 deletions

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))
}