Commit f86469d2 authored by Ondřej Surý's avatar Ondřej Surý

Fix missing 'else' in hexval2char()

parent a6c8f337
......@@ -169,7 +169,7 @@ static int hexval2char(int i)
{
if ((0 <= i) && (i <= 9)) {
return i + '0';
} if ((0x0a <= i) && (i <= 0x0f)) {
} else if ((0x0a <= i) && (i <= 0x0f)) {
return i - 0x0a + 'A';
} else {
return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment