* newlib/libc/stdio/nano-vfscanf.c: Fix '%X' specifier procesing

This commit is contained in:
Igor Venevtsev 2016-02-01 17:31:43 +03:00 committed by Corinna Vinschen
parent fa08ba8b23
commit 7c9651e3cc
1 changed files with 1 additions and 0 deletions

View File

@ -375,6 +375,7 @@ _DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
case 'p':
scan_data.flags |= POINTER;
case 'x':
case 'X':
scan_data.flags |= PFXOK;
scan_data.base = 16;
goto number;