fix time_windows.v
parent
18c440c990
commit
8f9979eb8d
|
@ -15,5 +15,5 @@ struct C.tm {
|
||||||
fn C._mkgmtime(&tm) time_t
|
fn C._mkgmtime(&tm) time_t
|
||||||
|
|
||||||
fn make_unix_time(t tm) int {
|
fn make_unix_time(t tm) int {
|
||||||
return C._mkgmtime(&t) as int
|
return int(C._mkgmtime(&t))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue