From b3c641f7d5978617238831403b61dad6a4d6e8ff Mon Sep 17 00:00:00 2001 From: JalonSolov Date: Wed, 18 Aug 2021 10:05:43 -0400 Subject: [PATCH] time: use `&C.time_t` instead of `&time_t` in C fn declaration (#11232) --- vlib/time/time_nix.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/time/time_nix.c.v b/vlib/time/time_nix.c.v index 29e0299809..f4ad2c8005 100644 --- a/vlib/time/time_nix.c.v +++ b/vlib/time/time_nix.c.v @@ -21,7 +21,7 @@ struct C.tm { fn C.timegm(&C.tm) C.time_t // fn C.gmtime_r(&tm, &gbuf) -fn C.localtime_r(t &time_t, tm &C.tm) +fn C.localtime_r(t &C.time_t, tm &C.tm) fn make_unix_time(t C.tm) i64 { return i64(C.timegm(&t))