From 8f9979eb8d2f4bab959a5171f5aa26caa9584591 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 7 Feb 2020 23:11:15 +0100 Subject: [PATCH] fix time_windows.v --- vlib/time/time_windows.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) }