[FIX Yellow] kbd_helper.c unsigned / signed
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit b3683c84d8c37daf873d30ced3e7944777c6d456 Author: William Wilgus <[email protected]> Date: Fri Jan 23 23:00:12 2026 -0500 [FIX Yellow] kbd_helper.c unsigned / signed Change-Id: I10382b5ad930d350945da950a5d829c000e18f31 diff --git a/apps/plugins/lib/kbd_helper.c b/apps/plugins/lib/kbd_helper.c index 90ed165fcd..50e0bc4e23 100644 --- a/apps/plugins/lib/kbd_helper.c +++ b/apps/plugins/lib/kbd_helper.c @@ -54,7 +54,7 @@ int kbd_create_layout(const char *layout, ucschar_t *buf, int bufsz) len++; } - if ((total_len + len + 1) * sizeof(*buf) < bufsz) + if ((total_len + len + 1) * (int)sizeof(*buf) < bufsz) { *pbuf = len; pbuf[len+1] = 0xFEFF; /* mark end of characters */ -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs