This commit is contained in:
Jean-Francois Dockes 2020-02-28 11:24:05 +01:00
parent 5353a22ce0
commit 0aed9b755e

View File

@ -794,6 +794,8 @@ static inline int h2d(int c) {
return c - '0';
else if ('A' <= c && c <= 'F')
return 10 + c - 'A';
else if ('a' <= c && c <= 'f')
return 10 + c - 'a';
else
return -1;
}