This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 82f90e4c330b114aa3519e09c9eff0e32f9767a5 Author: chao.an <anc...@xiaomi.com> AuthorDate: Tue Mar 8 22:28:44 2022 +0800 libs/vsprintf: fix the type issue Signed-off-by: chao.an <anc...@xiaomi.com> --- libs/libc/stdio/lib_libvsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/stdio/lib_libvsprintf.c b/libs/libc/stdio/lib_libvsprintf.c index 8588e89..b5990e2 100644 --- a/libs/libc/stdio/lib_libvsprintf.c +++ b/libs/libc/stdio/lib_libvsprintf.c @@ -1160,7 +1160,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream, if (c == 'S') { - sprintf_internal(stream, "+%#x/%#x", + sprintf_internal(stream, "+%#jx/%#zx", addr - symbol->sym_value, symbolsize); }