Commit 1a72b19e authored by Howard Chu's avatar Howard Chu
Browse files

Fix unhex

parent 21b51cb7
......@@ -128,11 +128,11 @@ static int unhex(unsigned char *c2)
int x, c;
x = *c2++ & 0x4f;
if (x & 0x40)
x -= 54;
x -= 55;
c = x << 4;
x = *c2 & 0x4f;
if (x & 0x40)
x -= 54;
x -= 55;
c |= x;
return c;
}
......
Supports Markdown
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