diff --git a/vlib/time/time_windows.v b/vlib/time/time_windows.v index 5727b0608f..3e6e1d2669 100644 --- a/vlib/time/time_windows.v +++ b/vlib/time/time_windows.v @@ -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)) }