mirror of
https://github.com/denoland/deno.git
synced 2025-02-24 06:02:18 -05:00
Fix missing &
This commit is contained in:
parent
f1f74d12fe
commit
2b51e87e4d
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ fn stat_extra(
|
||||||
const WINDOWS_TICK: i64 = 10_000; // 100-nanosecond intervals in a millisecond
|
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
|
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;
|
let milliseconds_since_windows_epoch = windows_time / WINDOWS_TICK;
|
||||||
milliseconds_since_windows_epoch - SEC_TO_UNIX_EPOCH * 1000
|
milliseconds_since_windows_epoch - SEC_TO_UNIX_EPOCH * 1000
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue