1
0
Fork 0
forked from len0rd/rockbox

imxtools: Replace use of "byte" with its underlying uint8_t.

libtomcrypt uses a macro "byte" which conflicts with this type. Since
the underlying type is uint8_t and there's no real benefit from using a
custom type use the actual underlying type.

Change-Id: I982c9b8bdcb657b99fa645a5235303af7afda25b
This commit is contained in:
Dominik Riebeling 2020-08-08 21:25:50 +02:00
parent 387a45923c
commit 815b289cb3
8 changed files with 69 additions and 70 deletions

View file

@ -207,7 +207,7 @@ static void parse_number(struct context_t *ctx, struct lexem_t *lexem)
{
if(base == 10 && !isdigit(cur_char(ctx)))
break;
byte v;
uint8_t v;
if(convxdigit(cur_char(ctx), &v))
break;
lexem->num = base * lexem->num + v;