libjson: fix mistake... (harmless)
This commit is contained in:
parent
ffd3421cf0
commit
4ea791806c
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ lex(Lex *l)
|
||||||
r *= 16;
|
r *= 16;
|
||||||
if(c >= '0' && c <= '9')
|
if(c >= '0' && c <= '9')
|
||||||
r += c - '0';
|
r += c - '0';
|
||||||
if(c >= 'a' && c <= 'f')
|
else if(c >= 'a' && c <= 'f')
|
||||||
r += c - 'a' + 10;
|
r += c - 'a' + 10;
|
||||||
else if(c >= 'A' && c <= 'F')
|
else if(c >= 'A' && c <= 'F')
|
||||||
r += c - 'A' + 10;
|
r += c - 'A' + 10;
|
||||||
|
|
Loading…
Reference in a new issue