sscanf: Accept %X as well as %x as a format specifier. From Sébastien Lorquet

This commit is contained in:
Gregory Nutt 2014-12-12 07:46:46 -06:00
parent fb6661aaa4
commit 1b661c6d23
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap)
base = 10;
break;
case 'X':
case 'x':
base = 16;
break;