stdio-common: Consistently use 'num_digits_len' in 'vfscanf'

Make the only place use 'num_digits_len' enumeration constant where 10
is referred literally for a digit index in i18n handling for decimal
integers.  No change in code produced.

Reviewed-by: Arjun Shankar <arjun@redhat.com>
This commit is contained in:
Maciej W. Rozycki 2025-05-29 22:11:38 +01:00
parent eaf88c1025
commit e6de31203e
1 changed files with 1 additions and 1 deletions

View File

@ -1737,7 +1737,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr,
#endif
}
if (n < 10)
if (n < num_digits_len)
{
/* Found it. */
from_level = level;