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

View file

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