mescc: Support binutils 2.25: vsscanf: Skip `l'.

* lib/libc+tcc.c (vsscanf): Skip `l'.
This commit is contained in:
Jan Nieuwenhuizen 2018-06-17 09:26:34 +02:00
parent 49bcea84fd
commit 0639e3faf1
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 0 deletions

View File

@ -819,6 +819,8 @@ vsscanf (char const *s, char const *template, va_list ap)
{
t++;
char c = *t;
if (c == 'l')
c = *++t;
switch (c)
{
case '%': {p++; break;}