Skip to content

Commit

Permalink
fix the compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyi98 committed Nov 4, 2024
1 parent fd80fc8 commit 294faff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/builtin/rune.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 294faff

Please sign in to comment.