mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-14 23:24:49 -04:00
Bugfixes for #147
This commit is contained in:
parent
337da5e632
commit
7e1e1ab61e
10 changed files with 64 additions and 35 deletions
|
@ -384,7 +384,7 @@ static inline int char2hex(char c) {
|
|||
if (c >= '0' && c <= '9')
|
||||
return c - '0';
|
||||
if (c >= 'A' && c <= 'F')
|
||||
return c - 'A';
|
||||
return c - 'A' + 10;
|
||||
if (c == '.')
|
||||
return -2;
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue