forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/lib/fonts/fonts.c
....@@ -135,8 +135,8 @@
135135 if (res > 20)
136136 c += 20 - res;
137137
138
- if ((font_w & (1 << (f->width - 1))) &&
139
- (font_h & (1 << (f->height - 1))))
138
+ if ((font_w & (1U << (f->width - 1))) &&
139
+ (font_h & (1U << (f->height - 1))))
140140 c += 1000;
141141
142142 if (c > cc) {