From 2b51e87e4db8901f8b49c4da0fd9b3aa85403f97 Mon Sep 17 00:00:00 2001 From: Lukasz Czerniawski Date: Mon, 29 Jul 2024 22:24:46 +0200 Subject: [PATCH] Fix missing & --- ext/fs/std_fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fs/std_fs.rs b/ext/fs/std_fs.rs index b797981d7c..b46d0cf9a4 100644 --- a/ext/fs/std_fs.rs +++ b/ext/fs/std_fs.rs @@ -873,7 +873,7 @@ fn stat_extra( const WINDOWS_TICK: i64 = 10_000; // 100-nanosecond intervals in a millisecond const SEC_TO_UNIX_EPOCH: i64 = 11_644_473_600; // Seconds between Windows epoch and Unix epoch - fn windows_time_to_unix_time_msec(windows_time: i64) -> i64 { + fn windows_time_to_unix_time_msec(windows_time: &i64) -> i64 { let milliseconds_since_windows_epoch = windows_time / WINDOWS_TICK; milliseconds_since_windows_epoch - SEC_TO_UNIX_EPOCH * 1000 }