diff options
| author | Yuriy Grynevych <greenyadzer@gmail.com> | 2025-09-08 17:57:28 +0300 |
|---|---|---|
| committer | Yuriy Grynevych <greenyadzer@gmail.com> | 2025-09-08 17:57:28 +0300 |
| commit | 2bbd0a45c0828db0cbc1f089198170813b1c3c74 (patch) | |
| tree | 3059889329de6c0994bc418ec07b41f9f0b2e611 /core | |
| parent | 21ce0c7ce9c442b9f9caa09af4e64c1cb7549e65 (diff) | |
[core:time] time_js: tick_now(): Use f64 (was f32) as a return type of odin_env.tick_now().
Diffstat (limited to 'core')
| -rw-r--r-- | core/time/time_js.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/time/time_js.odin b/core/time/time_js.odin index 9175fbfe9..0e021dc88 100644 --- a/core/time/time_js.odin +++ b/core/time/time_js.odin @@ -24,7 +24,7 @@ _sleep :: proc "contextless" (d: Duration) { _tick_now :: proc "contextless" () -> Tick { foreign odin_env { - tick_now :: proc "contextless" () -> f32 --- + tick_now :: proc "contextless" () -> f64 --- } return Tick{i64(tick_now()*1e6)} } |