mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: replace []byte with []u8
This commit is contained in:
@ -474,7 +474,7 @@ enum CharClass_parse_state {
|
||||
}
|
||||
|
||||
fn (re RE) get_char_class(pc int) string {
|
||||
buf := []byte{len: (re.cc.len)}
|
||||
buf := []u8{len: (re.cc.len)}
|
||||
mut buf_ptr := unsafe { &u8(&buf) }
|
||||
|
||||
mut cc_i := re.prog[pc].cc_index
|
||||
|
Reference in New Issue
Block a user