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

checker: Revert part of small_unsigned == signed (#13967) (#14075)

`gcc -W` doesn't error for e.g. u16 == i32, only for u32 == i16.
Any u16 value can fit in an i32.
This commit is contained in:
Nick Treleaven
2022-04-18 19:30:09 +01:00
committed by GitHub
parent 7ef64bde50
commit 4400efeb9f
6 changed files with 6 additions and 33 deletions

View File

@@ -778,7 +778,7 @@ pub fn (mut bmp BitMap) draw_glyph(index u16) (int, int) {
}
}
if count == int(glyph.contour_ends[c]) {
if count == glyph.contour_ends[c] {
// dprintln("count == glyph.contour_ends[count]")
if s == 2 { // final point was off-curve. connect to start