forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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) {