diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c index 6a827567a..cc2fdf195 100644 --- a/newlib/libc/stdio/nano-vfscanf.c +++ b/newlib/libc/stdio/nano-vfscanf.c @@ -423,9 +423,9 @@ _DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap), return EOF; #ifdef FLOATING_POINT - case 'e': - case 'f': - case 'g': + case 'e': case 'E': + case 'f': case 'F': + case 'g': case 'G': scan_data.code = CT_FLOAT; break; #endif