From 5332d00290f6271b93adce8e55a74c44cd841d3a Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 30 Jan 2023 12:41:24 +0100 Subject: [PATCH] ngui: make it work with zig release v0.10.0 only one tiny change: @maximum -> @max. nothing to do for nd. --- src/ngui.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngui.zig b/src/ngui.zig index d3711dc..a466b29 100644 --- a/src/ngui.zig +++ b/src/ngui.zig @@ -201,7 +201,7 @@ pub fn main() anyerror!void { return; } // sleep at least 1ms - time.sleep(@maximum(1, till_next_ms) * time.ns_per_ms); + time.sleep(@max(1, till_next_ms) * time.ns_per_ms); } }