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:
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
Block a user