From 294faff40bc6987fe49f8dcccbe2f9570298475c Mon Sep 17 00:00:00 2001 From: yuyi Date: Mon, 4 Nov 2024 21:07:46 +0800 Subject: [PATCH] fix the compile errors --- vlib/builtin/rune.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/rune.v b/vlib/builtin/rune.v index cc2ef336b2c031..5e55f4622ce73a 100644 --- a/vlib/builtin/rune.v +++ b/vlib/builtin/rune.v @@ -487,7 +487,7 @@ fn (c rune) map_to(mode MapMode) rune { return c + offset } } - if c < cur_map.start { + if c < u32(cur_map.start) { end = middle } else { start = middle + 1