From 1b661c6d2374a5ce936dfacff27dec45254cb64c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 12 Dec 2014 07:46:46 -0600 Subject: [PATCH] =?UTF-8?q?sscanf:=20=20Accept=20%X=20as=20well=20as=20%x?= =?UTF-8?q?=20as=20a=20format=20specifier.=20=20From=20S=C3=A9bastien=20Lo?= =?UTF-8?q?rquet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libc/stdio/lib_sscanf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/stdio/lib_sscanf.c b/libc/stdio/lib_sscanf.c index 611a0edc0c3..adad401352a 100644 --- a/libc/stdio/lib_sscanf.c +++ b/libc/stdio/lib_sscanf.c @@ -430,6 +430,7 @@ int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap) base = 10; break; + case 'X': case 'x': base = 16; break;