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:
@@ -45,7 +45,7 @@ mut:
|
||||
******************************************************************************/
|
||||
pub struct TTF_File {
|
||||
pub mut:
|
||||
buf []byte
|
||||
buf []u8
|
||||
pos u32
|
||||
length u16
|
||||
scalar_type u32
|
||||
@@ -319,7 +319,7 @@ fn (mut tf TTF_File) read_simple_glyph(mut in_glyph Glyph) {
|
||||
num_points++
|
||||
|
||||
mut i := 0
|
||||
mut flags := []byte{}
|
||||
mut flags := []u8{}
|
||||
for i < num_points {
|
||||
flag := tf.get_u8()
|
||||
flags << flag
|
||||
|
||||
Reference in New Issue
Block a user