1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: remove unnecessary casts for defunct small unsigned warning (#14108)

This commit is contained in:
Nick Treleaven
2022-04-20 19:47:09 +01:00
committed by GitHub
parent 0260c2a552
commit 1533b77404
3 changed files with 5 additions and 5 deletions

View File

@ -1937,7 +1937,7 @@ pub fn (name string) match_glob(pattern string) bool {
mut is_inverted := false
mut inner_match := false
mut inner_idx := bstart + 1
mut inner_c := u8(0)
mut inner_c := 0
if inner_idx < plen {
inner_c = pattern[inner_idx]
if inner_c == `^` {