2
0
Эх сурвалжийг харах

Merge pull request #5663 from greenya/master

[core:time] time_js: tick_now(): Use f64 (was f32) as a return type of odin_env.tick_now()
gingerBill 4 өдөр өмнө
parent
commit
e2c1f86946

+ 1 - 1
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)}
 }