summaryrefslogtreecommitdiffstats
path: root/utils/imxtools/sbtools/dbparser.c
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-08 21:25:50 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-18 19:08:32 +0200
commit815b289cb3438ed566b3e9dc5074fe12e4b98f46 (patch)
treef4a92ac428098eda3a82da4549652b2ea079a599 /utils/imxtools/sbtools/dbparser.c
parent387a45923c2ea6b223584815c7cd796ae064e22e (diff)
downloadrockbox-815b289cb3.tar.gz
rockbox-815b289cb3.tar.bz2
rockbox-815b289cb3.zip
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
Diffstat (limited to 'utils/imxtools/sbtools/dbparser.c')
-rw-r--r--utils/imxtools/sbtools/dbparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/imxtools/sbtools/dbparser.c b/utils/imxtools/sbtools/dbparser.c
index 1e5ee7244a..cfec7c2cd5 100644
--- a/utils/imxtools/sbtools/dbparser.c
+++ b/utils/imxtools/sbtools/dbparser.c
@@ -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;