diff --git a/vlib/encoding/binary/binary.v b/vlib/encoding/binary/binary.v index 4167f72107..3a140a636d 100644 --- a/vlib/encoding/binary/binary.v +++ b/vlib/encoding/binary/binary.v @@ -4,9 +4,9 @@ module binary // Little Endian [inline] -pub fn little_endian_endian_u16(b []byte) u16 { +pub fn little_endian_u16(b []byte) u16 { _ = b[1] // bounds check - return u16(b[0]) | u16(u16(b[1])<