diff options
Diffstat (limited to 'stdio-common/vfscanf.c')
-rw-r--r-- | stdio-common/vfscanf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index 9809ea33a8..aa0f091c06 100644 --- a/stdio-common/vfscanf.c +++ b/stdio-common/vfscanf.c @@ -1604,7 +1604,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr) if (width == 0 || inchar () == EOF) /* EOF is only an input error before we read any chars. */ conv_error (); - if (! ISDIGIT (c)) + if (! ISDIGIT (c) && TOLOWER (c) != L_('i')) { #ifdef COMPILE_WSCANF if (c != decimal) |