mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
[FIX Yellow] kbd_helper.c unsigned / signed
Change-Id: I10382b5ad930d350945da950a5d829c000e18f31
This commit is contained in:
parent
a0bd28a408
commit
b3683c84d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue