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

net: byte fixes

This commit is contained in:
Alexander Medvednikov
2022-04-15 15:55:39 +03:00
parent fb192d949b
commit af73e195da
18 changed files with 54 additions and 65 deletions

View File

@@ -92,10 +92,10 @@ fn pg_stmt_match(mut types []u32, mut vals []&char, mut lens []int, mut formats
lens << int(sizeof(bool))
formats << 1
}
byte {
u8 {
types << u32(Oid.t_char)
vals << &char(&(d as byte))
lens << int(sizeof(byte))
vals << &char(&(d as u8))
lens << int(sizeof(u8))
formats << 1
}
u16 {