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 }