summaryrefslogtreecommitdiff
path: root/utils/imxtools/sbtools/dbparser.c
diff options
context:
space:
mode:
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)
207 { 207 {
208 if(base == 10 && !isdigit(cur_char(ctx))) 208 if(base == 10 && !isdigit(cur_char(ctx)))
209 break; 209 break;
210 byte v; 210 uint8_t v;
211 if(convxdigit(cur_char(ctx), &v)) 211 if(convxdigit(cur_char(ctx), &v))
212 break; 212 break;
213 lexem->num = base * lexem->num + v; 213 lexem->num = base * lexem->num + v;