unsigned char d = *(i + 1);
char *t;
if ((t = strchr(hexchars, c)) == 0)
if ((t = (char *) strchr(hexchars, c)) == 0)
return "out of range";
n = (t - hexchars) << 4;
if ((t = strchr(hexchars, d)) == 0)
if ((t = (char *) strchr(hexchars, d)) == 0)
n += (t - hexchars);